diff options
Diffstat (limited to 'Lib/test/test_parser.py')
-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 b830459..e5285c6 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -473,6 +473,8 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase): self.check_suite("foo(b := 2, a=1)") self.check_suite("foo((b := 2), a=1)") self.check_suite("foo(c=(b := 2), a=1)") + self.check_suite("{(x := C(i)).q: x for i in y}") + # # Second, we take *invalid* trees and make sure we get ParserError |