def test_bad_config_arg(self):
        result = None
        with pytest.raises(ValueError) as val_error:
            result = config.create_dynamic_configs('bad_arg')
        assert result is None
        assert str(val_error) in "config should be ConfigObj"
dataset/ETHPy150Open major/supernova/tests/test_config.py/TestDynamicConfig.test_bad_config_arg/swapped operands of `in`