mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-12 11:10:13 +08:00
fix for problems with incomplete one liner string literals, after a start of an incomplete string literal the whole line should be seen as an error token
This commit is contained in:
1 parent
54568c1868
commit
bb6874bc7c
2 files changed
+14
-6
No files matched your search
@@ -162,8 +162,10 @@ class TestCallSignatures(TestCase):
|
||||
assert x == ['*args']
|
||||
|
||||
def test_additional_brackets(self):
|
||||
s = 'str(('
|
||||
self._run(s, 'str', 0)
|
||||
self._run('str((', 'str', 0)
|
||||
|
||||
def test_unterminated_strings(self):
|
||||
self._run('str(";', 'str', 0)
|
||||
|
||||
|
||||
class TestParams(TestCase):
|
||||
|
||||
Reference in new issue
Block a user