changeset: 97292:a572137b4f05 parent: 97290:4c89dd5199e5 parent: 97291:40c391d12741 user: Yury Selivanov date: Wed Aug 05 18:00:11 2015 -0400 description: Merge 3.5 (issue #24791; more tests in test_parser) diff -r 4c89dd5199e5 -r a572137b4f05 Lib/test/test_parser.py --- a/Lib/test/test_parser.py Wed Aug 05 17:55:12 2015 -0400 +++ b/Lib/test/test_parser.py Wed Aug 05 18:00:11 2015 -0400 @@ -350,9 +350,11 @@ 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}')