##// END OF EJS Templates
[terminal][tests][embed] Remove nose
Samuel Gaist -
Show More
@@ -14,7 +14,7 b''
14 import os
14 import os
15 import subprocess
15 import subprocess
16 import sys
16 import sys
17 import nose.tools as nt
17
18 from IPython.utils.tempdir import NamedFileInTemporaryDirectory
18 from IPython.utils.tempdir import NamedFileInTemporaryDirectory
19 from IPython.testing.decorators import skip_win32
19 from IPython.testing.decorators import skip_win32
20 from IPython.testing import IPYTHON_TESTING_TIMEOUT_SCALE
20 from IPython.testing import IPYTHON_TESTING_TIMEOUT_SCALE
@@ -55,12 +55,13 b' def test_ipython_embed():'
55 out, err = p.communicate(_exit)
55 out, err = p.communicate(_exit)
56 std = out.decode('UTF-8')
56 std = out.decode('UTF-8')
57
57
58 nt.assert_equal(p.returncode, 0)
58 assert p.returncode == 0
59 nt.assert_in('3 . 14', std)
59 assert "3 . 14" in std
60 if os.name != 'nt':
60 if os.name != "nt":
61 # TODO: Fix up our different stdout references, see issue gh-14
61 # TODO: Fix up our different stdout references, see issue gh-14
62 nt.assert_in('IPython', std)
62 assert "IPython" in std
63 nt.assert_in('bye!', std)
63 assert "bye!" in std
64
64
65
65 @skip_win32
66 @skip_win32
66 def test_nest_embed():
67 def test_nest_embed():
General Comments 0
You need to be logged in to leave comments. Login now