mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 21:58:47 +08:00
Errortokens should also make the parser fail in the normal parser.
This commit is contained in:
1 parent
5791860861
commit
c15551ccc1
3 files changed
+5
-2
No files matched your search
@@ -51,6 +51,7 @@ def test_illegal_forward_references(reference):
|
||||
assert not jedi.Script(source).goto_definitions()
|
||||
|
||||
|
||||
@pytest.mark.skipif('sys.version_info[0] < 3')
|
||||
def test_lambda_forward_references():
|
||||
source = 'def foo(bar: "lambda: 3"): bar'
|
||||
|
||||
|
||||
Reference in new issue
Block a user