076ae06617a8e494afbe7e569032c527d8d49098,tests/test_param.py,TestParameterized,test_read_values,#TestParameterized#,420

Before Change


            vals = list(zip(*values.items()))[1]
            assert_allclose(vals, expected_values)

        names = set(["p/a", "p/b", "p/c/d"])
        expected_values = [10, 11., 12]

        with self.test_context() as session:
            session_new = tf.Session(graph=session.graph)

After Change



        expected_dict = {"p/a": 10., "p/b": 11., "p/c/d": 12.}
        unexpected_dicts = [
            {"p": 10., "p/b": 11., "p/c/d": 12.},
            {"p/a": 11., "p/b": 11., "p/c/d": 12.},
            {"p/a": 11.}
        ]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GPflow/GPflow
Commit Name: 076ae06617a8e494afbe7e569032c527d8d49098
Time: 2017-11-23
Author: dutordoirv@gmail.com
File Name: tests/test_param.py
Class Name: TestParameterized
Method Name: test_read_values


Project Name: tryolabs/luminoth
Commit Name: 35999e65a83c8b9f67b833623a5b9ce47af7cc71
Time: 2017-09-19
Author: javirey@gmail.com
File Name: luminoth/utils/training.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: 5f69cbcf603df8aaf7c127cd813c6c732a8de9ee
Time: 2017-05-07
Author: wenqi.li@ucl.ac.uk
File Name: layer/convolution.py
Class Name:
Method Name: