Show More
@@ -17,7 +17,7 b' import unittest' | |||||
17 |
|
17 | |||
18 | import nose.tools as nt |
|
18 | import nose.tools as nt | |
19 |
|
19 | |||
20 | from IPython.testing.decorators import skipif, skip_win32 |
|
20 | from IPython.testing.decorators import skipif, skip_win32, py3_only | |
21 | from IPython.utils.io import IOStream, Tee, capture_output |
|
21 | from IPython.utils.io import IOStream, Tee, capture_output | |
22 | from IPython.utils.py3compat import doctest_refactor_print, PY3 |
|
22 | from IPython.utils.py3compat import doctest_refactor_print, PY3 | |
23 | from IPython.utils.tempdir import TemporaryDirectory |
|
23 | from IPython.utils.tempdir import TemporaryDirectory | |
@@ -74,6 +74,7 b' def test_io_init():' | |||||
74 | # just test for string equality. |
|
74 | # just test for string equality. | |
75 | assert 'IPython.utils.io.IOStream' in classname, classname |
|
75 | assert 'IPython.utils.io.IOStream' in classname, classname | |
76 |
|
76 | |||
|
77 | @py3_only | |||
77 | def test_IOStream_init(): |
|
78 | def test_IOStream_init(): | |
78 | """IOStream initializes from a file-like object missing attributes. """ |
|
79 | """IOStream initializes from a file-like object missing attributes. """ | |
79 | # Cause a failure from getattr and dir(). (Issue #6386) |
|
80 | # Cause a failure from getattr and dir(). (Issue #6386) |
General Comments 0
You need to be logged in to leave comments.
Login now