mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove unused imports in tests (GH-14518)
This commit is contained in:
parent
f9b7457bd7
commit
8f4ef3b019
53 changed files with 31 additions and 84 deletions
|
@ -3,7 +3,6 @@ from unittest import mock
|
|||
from test import support
|
||||
import subprocess
|
||||
import sys
|
||||
import platform
|
||||
import signal
|
||||
import io
|
||||
import itertools
|
||||
|
@ -20,18 +19,12 @@ import gc
|
|||
import textwrap
|
||||
from test.support import FakePath
|
||||
|
||||
try:
|
||||
import ctypes
|
||||
except ImportError:
|
||||
ctypes = None
|
||||
else:
|
||||
import ctypes.util
|
||||
|
||||
try:
|
||||
import _testcapi
|
||||
except ImportError:
|
||||
_testcapi = None
|
||||
|
||||
|
||||
if support.PGO:
|
||||
raise unittest.SkipTest("test is not helpful for PGO")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue