summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compileall.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-18 19:28:18 (GMT)
committerGitHub <noreply@github.com>2022-01-18 19:28:18 (GMT)
commit1292aa6db5bed889a3c87df443754fcae0177801 (patch)
tree131eec842d87333ea97fcb90cb58764ac4652c56 /Lib/test/test_compileall.py
parentff7703c4b609a697ada8165fd1c52a73404b6d07 (diff)
downloadcpython-1292aa6db5bed889a3c87df443754fcae0177801.zip
cpython-1292aa6db5bed889a3c87df443754fcae0177801.tar.gz
cpython-1292aa6db5bed889a3c87df443754fcae0177801.tar.bz2
bpo-46425: Fix direct invocation of multiple test modules (GH-30666)
Diffstat (limited to 'Lib/test/test_compileall.py')
-rw-r--r--Lib/test/test_compileall.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py
index 9e15ecf..33f0c93 100644
--- a/Lib/test/test_compileall.py
+++ b/Lib/test/test_compileall.py
@@ -3,7 +3,6 @@ import contextlib
import filecmp
import importlib.util
import io
-import itertools
import os
import pathlib
import py_compile
@@ -29,9 +28,8 @@ except NotImplementedError:
from test import support
from test.support import os_helper
from test.support import script_helper
-
-from .test_py_compile import without_source_date_epoch
-from .test_py_compile import SourceDateEpochTestMeta
+from test.test_py_compile import without_source_date_epoch
+from test.test_py_compile import SourceDateEpochTestMeta
def get_pyc(script, opt):