mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-18 03:51:23 +08:00
Extend annotated assignment rule's RHS
This commit is contained in:
1 parent
4c2c0ad077
commit
e0dc415bbc
4 files changed
+6
-3
No files matched your search
@@ -194,6 +194,9 @@ def test_no_error_nodes(each_version):
|
||||
def test_named_expression(works_ge_py38):
|
||||
works_ge_py38.parse("(a := 1, a + 1)")
|
||||
|
||||
def test_extended_rhs_annassign(works_ge_py38):
|
||||
works_ge_py38.parse("x: y = z,")
|
||||
works_ge_py38.parse("x: Tuple[int, ...] = z, *q, w")
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
'param_code', [
|
||||
|
||||
Reference in new issue
Block a user