summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-01 16:28:25 (GMT)
committerGitHub <noreply@github.com>2019-07-01 16:28:25 (GMT)
commit8f4ef3b019ce380022018587571b0f970e668de3 (patch)
treed3699d2cae322c515e7a81e516527324fadc2d4d /Lib/test/test_subprocess.py
parentf9b7457bd7f438263e0d2dd1f70589ad56a2585e (diff)
downloadcpython-8f4ef3b019ce380022018587571b0f970e668de3.zip
cpython-8f4ef3b019ce380022018587571b0f970e668de3.tar.gz
cpython-8f4ef3b019ce380022018587571b0f970e668de3.tar.bz2
Remove unused imports in tests (GH-14518)
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r--Lib/test/test_subprocess.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 6b8acb2..e58d092 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -3,7 +3,6 @@ from unittest import mock
from test import support
import subprocess
import sys
-import platform
import signal
import io
import itertools
@@ -21,17 +20,11 @@ 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")