mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Issue #27322: back out the commit. needs to be addressed after beta1.
This commit is contained in:
parent
139652100e
commit
6d6602ced2
1 changed files with 0 additions and 1 deletions
|
|
@ -105,7 +105,6 @@ class CompileallTests(unittest.TestCase):
|
||||||
def test_compile_path(self):
|
def test_compile_path(self):
|
||||||
# Exclude Lib/test/ which contains invalid Python files like
|
# Exclude Lib/test/ which contains invalid Python files like
|
||||||
# Lib/test/badsyntax_pep3120.py
|
# Lib/test/badsyntax_pep3120.py
|
||||||
self._skip_if_sys_path_not_writable()
|
|
||||||
testdir = os.path.realpath(os.path.dirname(__file__))
|
testdir = os.path.realpath(os.path.dirname(__file__))
|
||||||
if testdir in sys.path:
|
if testdir in sys.path:
|
||||||
self.addCleanup(setattr, sys, 'path', sys.path)
|
self.addCleanup(setattr, sys, 'path', sys.path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue