Show More
@@ -16,10 +16,12 b' __docformat__ = "restructuredtext en"' | |||||
16 | import os |
|
16 | import os | |
17 | from cStringIO import StringIO |
|
17 | from cStringIO import StringIO | |
18 |
|
18 | |||
19 | from IPython.testing import decorators as testdec |
|
19 | # FIXME: | |
|
20 | import nose | |||
|
21 | import sys | |||
|
22 | if sys.platform == 'win32': | |||
|
23 | raise nose.SkipTest("These tests are not reliable under windows") | |||
20 |
|
24 | |||
21 | # FIXME |
|
|||
22 | @testdec.skip("This doesn't work under Windows") |
|
|||
23 | def test_redirector(): |
|
25 | def test_redirector(): | |
24 | """ Checks that the redirector can be used to do synchronous capture. |
|
26 | """ Checks that the redirector can be used to do synchronous capture. | |
25 | """ |
|
27 | """ | |
@@ -40,8 +42,6 b' def test_redirector():' | |||||
40 | result2 = "".join("%ic\n%i\n" %(i, i) for i in range(10)) |
|
42 | result2 = "".join("%ic\n%i\n" %(i, i) for i in range(10)) | |
41 | assert result1 == result2 |
|
43 | assert result1 == result2 | |
42 |
|
44 | |||
43 | # FIXME |
|
|||
44 | @testdec.skip("This doesn't work under Windows") |
|
|||
45 | def test_redirector_output_trap(): |
|
45 | def test_redirector_output_trap(): | |
46 | """ This test check not only that the redirector_output_trap does |
|
46 | """ This test check not only that the redirector_output_trap does | |
47 | trap the output, but also that it does it in a gready way, that |
|
47 | trap the output, but also that it does it in a gready way, that |
General Comments 0
You need to be logged in to leave comments.
Login now