##// END OF EJS Templates
Merge pull request #6556 from takluyver/inproc-kernel-tests-better-assets...
Thomas Kluyver -
r18015:6345f75a merge
parent child Browse files
Show More
@@ -46,7 +46,7 b' class InProcessKernelTestCase(unittest.TestCase):'
46 kc = self.kc
46 kc = self.kc
47 kc.execute('%pylab')
47 kc.execute('%pylab')
48 msg = get_stream_message(kc)
48 msg = get_stream_message(kc)
49 self.assert_('matplotlib' in msg['content']['data'])
49 self.assertIn('matplotlib', msg['content']['data'])
50
50
51 def test_raw_input(self):
51 def test_raw_input(self):
52 """ Does the in-process kernel handle raw_input correctly?
52 """ Does the in-process kernel handle raw_input correctly?
@@ -32,7 +32,7 b' class InProcessKernelManagerTestCase(unittest.TestCase):'
32
32
33 old_kernel = km.kernel
33 old_kernel = km.kernel
34 km.restart_kernel()
34 km.restart_kernel()
35 self.assert_(km.kernel is not None)
35 self.assertIsNotNone(km.kernel)
36 self.assertNotEquals(km.kernel, old_kernel)
36 self.assertNotEquals(km.kernel, old_kernel)
37
37
38 km.shutdown_kernel()
38 km.shutdown_kernel()
General Comments 0
You need to be logged in to leave comments. Login now