diff options
| author | Hai Shi <shihai1992@gmail.com> | 2020-07-06 12:29:49 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-06 12:29:49 (GMT) |
| commit | deb016224cc506503fb05e821a60158c83918ed4 (patch) | |
| tree | 21b683e93134e016806477e15df1211567441301 /Lib/test/test_py_compile.py | |
| parent | b4a9263708cc67c98c4d53b16933f6e5dd07990f (diff) | |
| download | cpython-deb016224cc506503fb05e821a60158c83918ed4.zip cpython-deb016224cc506503fb05e821a60158c83918ed4.tar.gz cpython-deb016224cc506503fb05e821a60158c83918ed4.tar.bz2 | |
bpo-40275: Use new test.support helper submodules in tests (GH-21317)
Diffstat (limited to 'Lib/test/test_py_compile.py')
| -rw-r--r-- | Lib/test/test_py_compile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py index 11b579c..d8ba009 100644 --- a/Lib/test/test_py_compile.py +++ b/Lib/test/test_py_compile.py @@ -102,7 +102,7 @@ class PyCompileTestsBase: self.assertTrue(os.path.exists(self.cache_path)) def test_cwd(self): - with support.change_cwd(self.directory): + with os_helper.change_cwd(self.directory): py_compile.compile(os.path.basename(self.source_path), os.path.basename(self.pyc_path)) self.assertTrue(os.path.exists(self.pyc_path)) |
