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_syntax.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_syntax.py')
-rw-r--r-- | Lib/test/test_syntax.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index ad5656b..6e1531e 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -1305,7 +1305,7 @@ class SyntaxTestCase(unittest.TestCase): ) def test_curly_brace_after_primary_raises_immediately(self): - self._check_error("f{", "invalid syntax", mode="single") + self._check_error("f{}", "invalid syntax", mode="single") def test_assign_call(self): self._check_error("f() = 1", "assign") |