mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
bug fixing
This commit is contained in:
@@ -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