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,6 +645,8 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 | |
|
648 | if sys.platform != 'win32': | |||
|
649 | # Known failure on Windows | |||
647 | _, matches = complete(line_buffer=u"d[u'a\\u05d0") |
|
650 | _, matches = complete(line_buffer=u"d[u'a\\u05d0") | |
648 | nt.assert_in("u05d0b", matches) # tokenized after \\ |
|
651 | nt.assert_in("u05d0b", matches) # tokenized after \\ | |
649 |
|
652 | |||
@@ -686,6 +689,8 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 | |
|
692 | if sys.platform != 'win32': | |||
|
693 | # Known failure on Windows | |||
689 | _, matches = complete(line_buffer="d['a\\u05d0") |
|
694 | _, matches = complete(line_buffer="d['a\\u05d0") | |
690 | nt.assert_in("u05d0", matches) # tokenized after \\ |
|
695 | nt.assert_in("u05d0", matches) # tokenized after \\ | |
691 |
|
696 |
General Comments 0
You need to be logged in to leave comments.
Login now