892e7673b99b2e61b4440be30247e3389a5f7544,sos/jupyter/test/test_kernel.py,,,#,38

Before Change


KM = None
KC = None

try:
    import feather
    feather
    with_feather = True
except ImportError:
    with_feather = False

@contextmanager
def sos_kernel():
    Context manager for the global kernel instance
    Should be used for most kernel tests

After Change


            res = get_result(iopub)
            self.assertEqual(res["a"], "$100")

if __name__ == "__main__":
    unittest.main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 10

Instances


Project Name: vatlab/SoS
Commit Name: 892e7673b99b2e61b4440be30247e3389a5f7544
Time: 2017-01-10
Author: ben.bog@gmail.com
File Name: sos/jupyter/test/test_kernel.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: 56a938568a713b2f798600901193252d4fb530ab
Time: 2017-06-20
Author: ben.bog@gmail.com
File Name: test/JavaScript/test_JavaScript_kernel.py
Class Name:
Method Name:


Project Name: markovmodel/PyEMMA
Commit Name: 4747932f02064b36ec92b9e77c20e64df8218b94
Time: 2017-09-20
Author: m.scherer@fu-berlin.de
File Name: pyemma/coordinates/tests/test_h5reader.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: 844f120349046077553c1b59b67f645fd75b04be
Time: 2017-06-19
Author: ben.bog@gmail.com
File Name: test/Bash/test_Bash_kernel.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: b51529a90df4d4abe24da13ef16cfab63fef795d
Time: 2017-01-10
Author: ben.bog@gmail.com
File Name: sos/jupyter/test/test_kernel.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: 56a938568a713b2f798600901193252d4fb530ab
Time: 2017-06-20
Author: ben.bog@gmail.com
File Name: test/R/test_R_kernel.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_reuse_mlp.py
Class Name:
Method Name: