mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-20 20:27:06 +08:00
bug fixing
This commit is contained in:
1 parent
ff7f774dc6
commit
0048eb65c4
8 files changed
+25
-20
No files matched your search
@@ -1,3 +1,7 @@
|
||||
|
||||
#? ['imag']
|
||||
[1,2][0].imag
|
||||
|
||||
a = list()
|
||||
#? ['append']
|
||||
[a][0].append
|
||||
+1
-1
@@ -49,7 +49,7 @@ def completion_test(source):
|
||||
tests += 1
|
||||
else:
|
||||
try:
|
||||
correct = re.search(r'#\?\s*([^\n]+)', line).group(1)
|
||||
correct = re.search(r'(?:^|\s)#\?\s*([^\n]+)', line).group(1)
|
||||
except:
|
||||
correct = None
|
||||
return tests, fails
|
||||
|
||||
Reference in new issue
Block a user