mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Errortokens should also make the parser fail in the normal parser.
This commit is contained in:
@@ -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