beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf,tests/test_config_scope.py,,test_conf_scope_can_access_preset,#,120
Before Change
def cfg(a):
answer = 2 * a
cfg(preset={"a": 21})
assert cfg["answer"] == 42
def test_conf_scope_contains_presets():
After Change
def conf_scope(a):
answer = 2 * a
cfg = conf_scope(preset={"a": 21})
assert cfg["answer"] == 42
def test_conf_scope_contains_presets():
In pattern: SUPERPATTERN
Frequency: 6
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_scope.py
Class Name:
Method Name: test_conf_scope_can_access_preset
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_scope.py
Class Name:
Method Name: test_conf_scope_contains_presets
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_scope.py
Class Name:
Method Name: test_conf_scope_can_access_fallback_and_preset
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_scope.py
Class Name:
Method Name: test_conf_scope_can_access_fallback
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_scope.py
Class Name:
Method Name: test_conf_scope_does_not_contain_fallback
Project Name: IDSIA/sacred
Commit Name: beb138b2fd7bf1f9fb19ad8a1dd425fe0848a3cf
Time: 2015-02-08
Author: qwlouse@gmail.com
File Name: tests/test_config_scope.py
Class Name:
Method Name: test_fixed_subentry_of_preset