d9d4a5bb6c71ee5d9a0ae17ea3b751cfce7a06b2,batchflow/tests/config/config_test.py,,test_dict_init,#Any#,9

Before Change


from batchflow import Config

def test_dict_init(data_dict_init):
	processed, expected = data_dict_init
	assert expected == processed

After Change


from batchflow import Config

def test_dict_init(data_dict_init):
	processed = Config(data_dict_init[0])
	expected = Config(data_dict_init[1])
	assert expected.config == processed.config
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: analysiscenter/batchflow
Commit Name: d9d4a5bb6c71ee5d9a0ae17ea3b751cfce7a06b2
Time: 2019-03-04
Author: stevesinobi@gmail.com
File Name: batchflow/tests/config/config_test.py
Class Name:
Method Name: test_dict_init


Project Name: facebookresearch/pytext
Commit Name: e7c6ddd21e1b22a987f321b0abdcf501f71de892
Time: 2019-05-13
Author: egaudet@fb.com
File Name: pytext/task/tasks.py
Class Name: Config
Method Name: Config_1


Project Name: Hironsan/anago
Commit Name: 56ff7de2acb143c2e29640d7639fd356e72547ff
Time: 2017-08-10
Author: light.tree.1.13@gmail.com
File Name: tests/train_test.py
Class Name: TrainTest
Method Name: test_train