commit | b280248be8e648feb82f3f3ed0050e50b238df7b | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Thu Apr 15 21:38:45 2021 +0100 |
committer | GitHub <noreply@github.com> | Thu Apr 15 21:38:45 2021 +0100 |
tree | fee5117cd4e2111d701422c52e30f3b85349b1a9 | |
parent | e692f55979980826a5281560c534ef399a8f9848 [diff] [blame] |
bpo-43822: Improve syntax errors for missing commas (GH-25377)
diff --git a/Lib/test/test_genexps.py b/Lib/test/test_genexps.py index 5c1a209..70fe2bb 100644 --- a/Lib/test/test_genexps.py +++ b/Lib/test/test_genexps.py
@@ -103,7 +103,7 @@ >>> dict(a = i for i in range(10)) Traceback (most recent call last): ... - SyntaxError: invalid syntax + SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='? Verify that parenthesis are required when used as a keyword argument value