##// END OF EJS Templates
Skip some failing tests on Windows...
Thomas Kluyver -
Show More
@@ -183,6 +183,7 b' def test_forward_unicode_completion():'
183 nt.assert_equal(matches[0], 'Ⅴ')
183 nt.assert_equal(matches[0], 'Ⅴ')
184
184
185 @dec.onlyif(sys.version_info[0] >= 3, 'This test only apply on python3')
185 @dec.onlyif(sys.version_info[0] >= 3, 'This test only apply on python3')
186 @dec.knownfailureif(sys.platform == 'win32', 'Fails if there is a C:\\j... path')
186 def test_no_ascii_back_completion():
187 def test_no_ascii_back_completion():
187 ip = get_ipython()
188 ip = get_ipython()
188 with TemporaryWorkingDirectory(): # Avoid any filename completions
189 with TemporaryWorkingDirectory(): # Avoid any filename completions
@@ -644,8 +645,10 b' def test_dict_key_completion_unicode_py2():'
644 nt.assert_in("a\\u05d0b", matches)
645 nt.assert_in("a\\u05d0b", matches)
645
646
646 # query using escape
647 # query using escape
647 _, matches = complete(line_buffer=u"d[u'a\\u05d0")
648 if sys.platform != 'win32':
648 nt.assert_in("u05d0b", matches) # tokenized after \\
649 # Known failure on Windows
650 _, matches = complete(line_buffer=u"d[u'a\\u05d0")
651 nt.assert_in("u05d0b", matches) # tokenized after \\
649
652
650 # query using character
653 # query using character
651 _, matches = complete(line_buffer=u"d[u'a\u05d0")
654 _, matches = complete(line_buffer=u"d[u'a\u05d0")
@@ -686,8 +689,10 b' def test_dict_key_completion_unicode_py3():'
686 ip.user_ns['d'] = {u'a\u05d0': None}
689 ip.user_ns['d'] = {u'a\u05d0': None}
687
690
688 # query using escape
691 # query using escape
689 _, matches = complete(line_buffer="d['a\\u05d0")
692 if sys.platform != 'win32':
690 nt.assert_in("u05d0", matches) # tokenized after \\
693 # Known failure on Windows
694 _, matches = complete(line_buffer="d['a\\u05d0")
695 nt.assert_in("u05d0", matches) # tokenized after \\
691
696
692 # query using character
697 # query using character
693 _, matches = complete(line_buffer="d['a\u05d0")
698 _, matches = complete(line_buffer="d['a\u05d0")
General Comments 0
You need to be logged in to leave comments. Login now