mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-07 18:31:17 +08:00
Don't give syntax errors for parenthesised kwargs <3.8
This commit is contained in:
committed by
Dave Halter
parent
8bb211fafb
commit
a06521d912
@@ -273,6 +273,9 @@ def test_too_many_levels_of_indentation():
|
||||
assert not _get_error_list(build_nested('pass', 49, base=base))
|
||||
assert _get_error_list(build_nested('pass', 50, base=base))
|
||||
|
||||
def test_paren_kwarg():
|
||||
assert _get_error_list("print((sep)=seperator)", version="3.8")
|
||||
assert not _get_error_list("print((sep)=seperator)", version="3.7")
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
'code', [
|
||||
|
||||
Reference in New Issue
Block a user