Show More
@@ -28,6 +28,7 b' from os.path import join' | |||||
28 | import sys |
|
28 | import sys | |
29 | from StringIO import StringIO |
|
29 | from StringIO import StringIO | |
30 |
|
30 | |||
|
31 | from IPython.testing.decorators import skipif | |||
31 | from IPython.utils import io |
|
32 | from IPython.utils import io | |
32 |
|
33 | |||
33 | #----------------------------------------------------------------------------- |
|
34 | #----------------------------------------------------------------------------- | |
@@ -254,6 +255,18 b' class InteractiveShellTestCase(unittest.TestCase):' | |||||
254 | # ZeroDivisionError |
|
255 | # ZeroDivisionError | |
255 | self.assertEqual(ip.var_expand(u"{1/0}"), u"{1/0}") |
|
256 | self.assertEqual(ip.var_expand(u"{1/0}"), u"{1/0}") | |
256 |
|
257 | |||
|
258 | @skipif(sys.version_info[0] >= 3, "softspace removed in py3") | |||
|
259 | def test_print_softspace(self): | |||
|
260 | """Verify that softspace is handled correctly when executing multiple | |||
|
261 | statements. | |||
|
262 | ||||
|
263 | In [1]: print 1; print 2 | |||
|
264 | 1 | |||
|
265 | 2 | |||
|
266 | ||||
|
267 | In [2]: print 1,; print 2 | |||
|
268 | 1 2 | |||
|
269 | """ | |||
257 |
|
270 | |||
258 | class TestSafeExecfileNonAsciiPath(unittest.TestCase): |
|
271 | class TestSafeExecfileNonAsciiPath(unittest.TestCase): | |
259 |
|
272 |
General Comments 0
You need to be logged in to leave comments.
Login now