##// END OF EJS Templates
Update test_completer.py
Laurent Gautier -
Show More
@@ -16,7 +16,7 b' import nose.tools as nt'
16 16 from traitlets.config.loader import Config
17 17 from IPython import get_ipython
18 18 from IPython.core import completer
19 from IPython.external.decorators.dec import knownfailureif
19 from IPython.external import decorators
20 20 from IPython.utils.tempdir import TemporaryDirectory, TemporaryWorkingDirectory
21 21 from IPython.utils.generics import complete_object
22 22 from IPython.testing import decorators as dec
@@ -183,7 +183,7 b' def test_forward_unicode_completion():'
183 183 nt.assert_equal(matches[0], 'Ⅴ')
184 184
185 185 @nt.nottest # now we have a completion for \jmath
186 @dec.knownfailureif(sys.platform == 'win32', 'Fails if there is a C:\\j... path')
186 @decorators.dec.knownfailureif(sys.platform == 'win32', 'Fails if there is a C:\\j... path')
187 187 def test_no_ascii_back_completion():
188 188 ip = get_ipython()
189 189 with TemporaryWorkingDirectory(): # Avoid any filename completions
@@ -234,7 +234,7 b' def test_has_open_quotes4():'
234 234 nt.assert_false(completer.has_open_quotes(s))
235 235
236 236
237 @knownfailureif(sys.platform == 'win32', "abspath completions fail on Windows")
237 @decorators.dec.knownfailureif(sys.platform == 'win32', "abspath completions fail on Windows")
238 238 def test_abspath_file_completions():
239 239 ip = get_ipython()
240 240 with TemporaryDirectory() as tmpdir:
General Comments 0
You need to be logged in to leave comments. Login now