diff options
-rw-r--r-- | Lib/test/test_parser.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index 7082273..3d301b4 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -350,9 +350,11 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase): self.check_expr('{**{}, 3:4, **{5:6, 7:8}}') def test_argument_unpacking(self): + self.check_expr("f(*a, **b)") self.check_expr('f(a, *b, *c, *d)') self.check_expr('f(**a, **b)') self.check_expr('f(2, *a, *b, **b, **c, **d)') + self.check_expr("f(*b, *() or () and (), **{} and {}, **() or {})") def test_set_comprehensions(self): self.check_expr('{x for x in seq}') |