Show More
@@ -292,6 +292,9 b' def test_jedi():' | |||
|
292 | 292 | completions = set(ip.Completer.completions(s, l)) |
|
293 | 293 | assert_not_in(Completion(l, l, comp), completions, reason) |
|
294 | 294 | |
|
295 | import jedi | |
|
296 | jedi_version = tuple(int(i) for i in jedi.__version__.split('.')[:3]) | |
|
297 | if jedi_version > (0,10): | |
|
295 | 298 | yield _test_complete, 'jedi >0.9 should complete and not crash', 'a=1;a.', 'real' |
|
296 | 299 | yield _test_complete, 'can infer first argument', 'a=(1,"foo");a[0].', 'real' |
|
297 | 300 | yield _test_complete, 'can infer second argument', 'a=(1,"foo");a[1].', 'capitalize' |
General Comments 0
You need to be logged in to leave comments.
Login now