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 |
|
|
|
59 |
|
|
|
60 |
if os.name != |
|
|
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 |
|
|
|
63 |
|
|
|
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