diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2021-07-16 12:20:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 12:20:09 (GMT) |
commit | a283ef116ba909f133a8e16bb8d17d9e613831d8 (patch) | |
tree | cacad715248c7ca2b4a7a04fff470763653e0864 /Lib/test/test_exceptions.py | |
parent | 000e70ad5246732fcbd27cf59268185cbd5ad734 (diff) | |
download | cpython-a283ef116ba909f133a8e16bb8d17d9e613831d8.zip cpython-a283ef116ba909f133a8e16bb8d17d9e613831d8.tar.gz cpython-a283ef116ba909f133a8e16bb8d17d9e613831d8.tar.bz2 |
Remove unnecessary 'invalid_primary' rule in the parser (GH-27186)
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index f92637f..2b00147 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -209,7 +209,7 @@ class ExceptionTests(unittest.TestCase): check(b'Python = "\xcf\xb3\xf2\xee\xed" +', 1, 18) check('x = "a', 1, 5) check('lambda x: x = 2', 1, 1) - check('f{a + b + c}', 1, 2) + check('f{a + b + c}', 1, 1) check('[file for str(file) in []\n])', 2, 2) check('a = « hello » « world »', 1, 5) check('[\nfile\nfor str(file)\nin\n[]\n]', 3, 5) |