Show More
@@ -183,6 +183,7 b' def test_forward_unicode_completion():' | |||
|
183 | 183 | nt.assert_equal(matches[0], 'Ⅴ') |
|
184 | 184 | |
|
185 | 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 | 187 | def test_no_ascii_back_completion(): |
|
187 | 188 | ip = get_ipython() |
|
188 | 189 | with TemporaryWorkingDirectory(): # Avoid any filename completions |
@@ -644,8 +645,10 b' def test_dict_key_completion_unicode_py2():' | |||
|
644 | 645 | nt.assert_in("a\\u05d0b", matches) |
|
645 | 646 | |
|
646 | 647 | # query using escape |
|
647 | _, matches = complete(line_buffer=u"d[u'a\\u05d0") | |
|
648 | nt.assert_in("u05d0b", matches) # tokenized after \\ | |
|
648 | if sys.platform != 'win32': | |
|
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 | 653 | # query using character |
|
651 | 654 | _, matches = complete(line_buffer=u"d[u'a\u05d0") |
@@ -686,8 +689,10 b' def test_dict_key_completion_unicode_py3():' | |||
|
686 | 689 | ip.user_ns['d'] = {u'a\u05d0': None} |
|
687 | 690 | |
|
688 | 691 | # query using escape |
|
689 | _, matches = complete(line_buffer="d['a\\u05d0") | |
|
690 | nt.assert_in("u05d0", matches) # tokenized after \\ | |
|
692 | if sys.platform != 'win32': | |
|
693 | # Known failure on Windows | |
|
694 | _, matches = complete(line_buffer="d['a\\u05d0") | |
|
695 | nt.assert_in("u05d0", matches) # tokenized after \\ | |
|
691 | 696 | |
|
692 | 697 | # query using character |
|
693 | 698 | _, matches = complete(line_buffer="d['a\u05d0") |
General Comments 0
You need to be logged in to leave comments.
Login now