mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 21:04:29 +08:00
Test only python3+
This commit is contained in:
@@ -413,11 +413,4 @@ def test_unparenthesized_genexp(source, no_errors):
|
||||
]
|
||||
)
|
||||
def test_starred_expr(source, no_errors):
|
||||
assert (
|
||||
any(
|
||||
"starred assignment target must be in a list or tuple"
|
||||
in error.message
|
||||
for error in _get_error_list(source)
|
||||
)
|
||||
^ no_errors
|
||||
)
|
||||
assert bool(_get_error_list(source, version="3")) ^ no_errors
|
||||
|
||||
Reference in New Issue
Block a user