def test_new_config(): c = config.copy() with new_config({'xyzzy': 5}): assert config == {'xyzzy': 5} assert config == c assert 'xyzzy' not in config
def test_new_config(): c = config.copy() with new_config({"xyzzy": 5}): config["xyzzy"] == 5 assert config == c assert "xyzzy" not in config
def test_new_config(): c = config.copy() with new_config({'xyzzy': 5}): config['xyzzy'] == 5 assert config == c assert 'xyzzy' not in config