From 14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Wed, 5 Aug 2015 17:54:10 -0400 Subject: Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'. --- Lib/test/test_grammar.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/test/test_grammar.py') diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 8f0cf163ee..ec3d7833f7 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -205,6 +205,8 @@ class GrammarTests(unittest.TestCase): d01() d01(1) d01(*(1,)) + d01(*[] or [2]) + d01(*() or (), *{} and (), **() or {}) d01(**{'a':2}) d01(**{'a':2} or {}) def d11(a, b=1): pass -- cgit v1.2.1