beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf,tests/test_config_dict.py,,test_adding_values,#Any#,67
Before Change
def test_adding_values(conf_dict):
conf_dict({"g": 23, "h": {"i": 10}})
assert conf_dict["g"] == 23
assert conf_dict["h"] == {"i": 10}
assert conf_dict.added_values == {"g", "h", "h.i"}
After Change
def test_adding_values(conf_dict):
cfg = conf_dict({"g": 23, "h": {"i": 10}})
assert cfg["g"] == 23
assert cfg["h"] == {"i": 10}
assert cfg.added_values == {"g", "h", "h.i"}
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_dict.py
Class Name:
Method Name: test_adding_values
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_dict.py
Class Name:
Method Name: test_fixing_nested_dicts
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_dict.py
Class Name:
Method Name: test_typechange
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_dict.py
Class Name:
Method Name: test_nested_typechange