From 5337eb35e4a8b49ccc62bad9f09ab8144576033a 2017-01-28 12:28:14 From: Thomas Kluyver Date: 2017-01-28 12:28:14 Subject: [PATCH] Skip broken test on PY2 --- diff --git a/IPython/utils/tests/test_io.py b/IPython/utils/tests/test_io.py index 1783151..79735f8 100644 --- a/IPython/utils/tests/test_io.py +++ b/IPython/utils/tests/test_io.py @@ -17,7 +17,7 @@ import unittest import nose.tools as nt -from IPython.testing.decorators import skipif, skip_win32 +from IPython.testing.decorators import skipif, skip_win32, py3_only from IPython.utils.io import IOStream, Tee, capture_output from IPython.utils.py3compat import doctest_refactor_print, PY3 from IPython.utils.tempdir import TemporaryDirectory @@ -74,6 +74,7 @@ def test_io_init(): # just test for string equality. assert 'IPython.utils.io.IOStream' in classname, classname +@py3_only def test_IOStream_init(): """IOStream initializes from a file-like object missing attributes. """ # Cause a failure from getattr and dir(). (Issue #6386)