mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-40939: Remove the old parser (GH-20768)
This commit removes the old parser, the deprecated parser module, the old parser compatibility flags and environment variables and all associated support code and documentation.
This commit is contained in:
parent
311110abcd
commit
1ed83adb0e
53 changed files with 24447 additions and 35978 deletions
|
@ -12,7 +12,7 @@ import os
|
|||
import types
|
||||
import decimal
|
||||
import unittest
|
||||
from test.support import temp_cwd, use_old_parser
|
||||
from test.support import temp_cwd
|
||||
from test.support.script_helper import assert_python_failure
|
||||
|
||||
a_global = 'global variable'
|
||||
|
@ -1049,7 +1049,6 @@ non-important content
|
|||
r"f'{1000:j}'",
|
||||
])
|
||||
|
||||
@unittest.skipIf(use_old_parser(), "The old parser only supports <fstring> as the filename")
|
||||
def test_filename_in_syntaxerror(self):
|
||||
# see issue 38964
|
||||
with temp_cwd() as cwd:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue