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