##// END OF EJS Templates
Make ascii completion test ignore local files...
Thomas Kluyver -
Show More
@@ -179,10 +179,11 b' def test_forward_unicode_completion():'
179 @dec.onlyif(sys.version_info[0] >= 3, 'This test only apply on python3')
179 @dec.onlyif(sys.version_info[0] >= 3, 'This test only apply on python3')
180 def test_no_ascii_back_completion():
180 def test_no_ascii_back_completion():
181 ip = get_ipython()
181 ip = get_ipython()
182 # single ascii letter that don't have yet completions
182 with TemporaryWorkingDirectory(): # Avoid any filename completions
183 for letter in 'fjqyJMQVWY' :
183 # single ascii letter that don't have yet completions
184 name, matches = ip.complete('\\'+letter)
184 for letter in 'fjqyJMQVWY' :
185 nt.assert_equal(len(matches), 0)
185 name, matches = ip.complete('\\'+letter)
186 nt.assert_equal(matches, [])
186
187
187
188
188
189
General Comments 0
You need to be logged in to leave comments. Login now