diff --git a/IPython/core/tests/test_completer.py b/IPython/core/tests/test_completer.py index 8ded6d6..5876cc4 100644 --- a/IPython/core/tests/test_completer.py +++ b/IPython/core/tests/test_completer.py @@ -16,7 +16,7 @@ import nose.tools as nt from traitlets.config.loader import Config from IPython import get_ipython from IPython.core import completer -from IPython.external.decorators.dec import knownfailureif +from IPython.external import decorators from IPython.utils.tempdir import TemporaryDirectory, TemporaryWorkingDirectory from IPython.utils.generics import complete_object from IPython.testing import decorators as dec @@ -183,7 +183,7 @@ def test_forward_unicode_completion(): nt.assert_equal(matches[0], 'Ⅴ') @nt.nottest # now we have a completion for \jmath -@dec.knownfailureif(sys.platform == 'win32', 'Fails if there is a C:\\j... path') +@decorators.dec.knownfailureif(sys.platform == 'win32', 'Fails if there is a C:\\j... path') def test_no_ascii_back_completion(): ip = get_ipython() with TemporaryWorkingDirectory(): # Avoid any filename completions @@ -234,7 +234,7 @@ def test_has_open_quotes4(): nt.assert_false(completer.has_open_quotes(s)) -@knownfailureif(sys.platform == 'win32', "abspath completions fail on Windows") +@decorators.dec.knownfailureif(sys.platform == 'win32', "abspath completions fail on Windows") def test_abspath_file_completions(): ip = get_ipython() with TemporaryDirectory() as tmpdir: