summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/tests/test_bdist.py1
-rw-r--r--Lib/distutils/tests/test_sysconfig.py1
-rw-r--r--Lib/lib2to3/tests/test_all_fixers.py1
-rw-r--r--Lib/test/datetimetester.py1
-rw-r--r--Lib/test/libregrtest/setup.py2
-rw-r--r--Lib/test/list_tests.py3
-rw-r--r--Lib/test/lock_tests.py1
-rw-r--r--Lib/test/test_asyncio/test_events.py1
-rw-r--r--Lib/test/test_asyncio/test_runners.py1
-rw-r--r--Lib/test/test_asyncio/test_sock_lowlevel.py2
-rw-r--r--Lib/test/test_asyncio/test_tasks.py4
-rw-r--r--Lib/test/test_asyncio/test_timeouts.py1
-rw-r--r--Lib/test/test_atexit.py1
-rw-r--r--Lib/test/test_binascii.py2
-rw-r--r--Lib/test/test_bufio.py1
-rw-r--r--Lib/test/test_codecs.py1
-rw-r--r--Lib/test/test_decorators.py1
-rw-r--r--Lib/test/test_defaultdict.py2
-rw-r--r--Lib/test/test_descr.py1
-rw-r--r--Lib/test/test_email/test_email.py3
-rw-r--r--Lib/test/test_exception_group.py1
-rw-r--r--Lib/test/test_exceptions.py1
-rw-r--r--Lib/test/test_float.py1
-rw-r--r--Lib/test/test_flufl.py1
-rw-r--r--Lib/test/test_functools.py2
-rw-r--r--Lib/test/test_future.py1
-rw-r--r--Lib/test/test_getpath.py1
-rw-r--r--Lib/test/test_heapq.py1
-rw-r--r--Lib/test/test_http_cookiejar.py1
-rw-r--r--Lib/test/test_imaplib.py4
-rw-r--r--Lib/test/test_importlib/test_abc.py1
-rw-r--r--Lib/test/test_importlib/test_api.py1
-rw-r--r--Lib/test/test_launcher.py1
-rw-r--r--Lib/test/test_lltrace.py1
-rw-r--r--Lib/test/test_mailcap.py1
-rw-r--r--Lib/test/test_nis.py1
-rw-r--r--Lib/test/test_regrtest.py1
-rw-r--r--Lib/test/test_select.py1
-rw-r--r--Lib/test/test_shelve.py2
-rw-r--r--Lib/test/test_site.py3
-rw-r--r--Lib/test/test_sqlite3/__init__.py1
-rw-r--r--Lib/test/test_sysconfig.py1
-rw-r--r--Lib/test/test_tcl.py3
-rw-r--r--Lib/test/test_threading_local.py1
-rw-r--r--Lib/test/test_tools/test_md5sum.py1
-rw-r--r--Lib/test/test_tools/test_pathfix.py1
-rw-r--r--Lib/test/test_tools/test_pindent.py1
-rw-r--r--Lib/test/test_traceback.py1
-rw-r--r--Lib/test/test_type_comments.py1
-rw-r--r--Lib/test/test_univnewlines.py1
-rw-r--r--Lib/test/test_urllib2.py1
-rw-r--r--Lib/test/test_venv.py2
52 files changed, 8 insertions, 65 deletions
diff --git a/Lib/distutils/tests/test_bdist.py b/Lib/distutils/tests/test_bdist.py
index 241fc9a..5676f7f 100644
--- a/Lib/distutils/tests/test_bdist.py
+++ b/Lib/distutils/tests/test_bdist.py
@@ -1,5 +1,4 @@
"""Tests for distutils.command.bdist."""
-import os
import unittest
from test.support import run_unittest
diff --git a/Lib/distutils/tests/test_sysconfig.py b/Lib/distutils/tests/test_sysconfig.py
index 0664aca..270e91a 100644
--- a/Lib/distutils/tests/test_sysconfig.py
+++ b/Lib/distutils/tests/test_sysconfig.py
@@ -12,7 +12,6 @@ from distutils.ccompiler import get_default_compiler
from distutils.tests import support
from test.support import run_unittest, swap_item, requires_subprocess, is_wasi
from test.support.os_helper import TESTFN
-from test.support.warnings_helper import check_warnings
class SysconfigTestCase(support.EnvironGuard, unittest.TestCase):
diff --git a/Lib/lib2to3/tests/test_all_fixers.py b/Lib/lib2to3/tests/test_all_fixers.py
index a265941..d0fca70 100644
--- a/Lib/lib2to3/tests/test_all_fixers.py
+++ b/Lib/lib2to3/tests/test_all_fixers.py
@@ -7,7 +7,6 @@ running time.
# Python imports
import os.path
-import sys
import test.support
import unittest
diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py
index 8e4bcc7..311f9db 100644
--- a/Lib/test/datetimetester.py
+++ b/Lib/test/datetimetester.py
@@ -7,7 +7,6 @@ import itertools
import bisect
import copy
import decimal
-import functools
import sys
import os
import pickle
diff --git a/Lib/test/libregrtest/setup.py b/Lib/test/libregrtest/setup.py
index cfc1b82..4298c92 100644
--- a/Lib/test/libregrtest/setup.py
+++ b/Lib/test/libregrtest/setup.py
@@ -141,7 +141,7 @@ def _adjust_resource_limits():
"""Adjust the system resource limits (ulimit) if needed."""
try:
import resource
- from resource import RLIMIT_NOFILE, RLIM_INFINITY
+ from resource import RLIMIT_NOFILE
except ImportError:
return
fd_limit, max_fds = resource.getrlimit(RLIMIT_NOFILE)
diff --git a/Lib/test/list_tests.py b/Lib/test/list_tests.py
index f7eea88..fe3ee80 100644
--- a/Lib/test/list_tests.py
+++ b/Lib/test/list_tests.py
@@ -3,10 +3,9 @@ Tests common to list and UserList.UserList
"""
import sys
-import os
from functools import cmp_to_key
-from test import support, seq_tests
+from test import seq_tests
from test.support import ALWAYS_EQ, NEVER_EQ
diff --git a/Lib/test/lock_tests.py b/Lib/test/lock_tests.py
index f16c7ed..a4f52cb 100644
--- a/Lib/test/lock_tests.py
+++ b/Lib/test/lock_tests.py
@@ -2,7 +2,6 @@
Various tests for synchronization primitives.
"""
-import os
import gc
import sys
import time
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index 05d9107..80d7152 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -29,7 +29,6 @@ if sys.platform not in ('win32', 'vxworks'):
import asyncio
from asyncio import coroutines
from asyncio import events
-from asyncio import proactor_events
from asyncio import selector_events
from test.test_asyncio import utils as test_utils
from test import support
diff --git a/Lib/test/test_asyncio/test_runners.py b/Lib/test/test_asyncio/test_runners.py
index 957cfe4..94d449f 100644
--- a/Lib/test/test_asyncio/test_runners.py
+++ b/Lib/test/test_asyncio/test_runners.py
@@ -1,7 +1,6 @@
import _thread
import asyncio
import contextvars
-import gc
import re
import signal
import threading
diff --git a/Lib/test/test_asyncio/test_sock_lowlevel.py b/Lib/test/test_asyncio/test_sock_lowlevel.py
index db47616..b829fd4 100644
--- a/Lib/test/test_asyncio/test_sock_lowlevel.py
+++ b/Lib/test/test_asyncio/test_sock_lowlevel.py
@@ -5,7 +5,7 @@ import unittest
from asyncio import proactor_events
from itertools import cycle, islice
-from unittest.mock import patch, Mock
+from unittest.mock import Mock
from test.test_asyncio import utils as test_utils
from test import support
from test.support import socket_helper
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index 6458859..69cecb3 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -1,22 +1,18 @@
"""Tests for tasks.py."""
import collections
-import contextlib
import contextvars
-import functools
import gc
import io
import random
import re
import sys
-import textwrap
import traceback
import unittest
from unittest import mock
from types import GenericAlias
import asyncio
-from asyncio import coroutines
from asyncio import futures
from asyncio import tasks
from test.test_asyncio import utils as test_utils
diff --git a/Lib/test/test_asyncio/test_timeouts.py b/Lib/test/test_asyncio/test_timeouts.py
index ef1ab0a..9801541 100644
--- a/Lib/test/test_asyncio/test_timeouts.py
+++ b/Lib/test/test_asyncio/test_timeouts.py
@@ -4,7 +4,6 @@ import unittest
import time
import asyncio
-from asyncio import tasks
def tearDownModule():
diff --git a/Lib/test/test_atexit.py b/Lib/test/test_atexit.py
index 7ac063c..913b755 100644
--- a/Lib/test/test_atexit.py
+++ b/Lib/test/test_atexit.py
@@ -1,6 +1,5 @@
import atexit
import os
-import sys
import textwrap
import unittest
from test import support
diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py
index 7087d7a..a2d7d02 100644
--- a/Lib/test/test_binascii.py
+++ b/Lib/test/test_binascii.py
@@ -4,7 +4,7 @@ import unittest
import binascii
import array
import re
-from test.support import bigmemtest, _1G, _4G, warnings_helper
+from test.support import bigmemtest, _1G, _4G
# Note: "*_hex" functions are aliases for "(un)hexlify"
diff --git a/Lib/test/test_bufio.py b/Lib/test/test_bufio.py
index 17151b1..dc9a82d 100644
--- a/Lib/test/test_bufio.py
+++ b/Lib/test/test_bufio.py
@@ -1,5 +1,4 @@
import unittest
-from test import support
from test.support import os_helper
import io # C implementation.
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index 42c600d..57f3648 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -9,7 +9,6 @@ from unittest import mock
from test import support
from test.support import os_helper
-from test.support import warnings_helper
try:
import _testcapi
diff --git a/Lib/test/test_decorators.py b/Lib/test/test_decorators.py
index a6baa3a..4b49217 100644
--- a/Lib/test/test_decorators.py
+++ b/Lib/test/test_decorators.py
@@ -1,4 +1,3 @@
-from test import support
import unittest
from types import MethodType
diff --git a/Lib/test/test_defaultdict.py b/Lib/test/test_defaultdict.py
index 68fc449..bdbe9b8 100644
--- a/Lib/test/test_defaultdict.py
+++ b/Lib/test/test_defaultdict.py
@@ -1,9 +1,7 @@
"""Unit tests for collections.defaultdict."""
-import os
import copy
import pickle
-import tempfile
import unittest
from collections import defaultdict
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 9a09d8a..b5f1bd4 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -3563,7 +3563,6 @@ order (MRO) for bases """
def test_str_of_str_subclass(self):
# Testing __str__ defined in subclass of str ...
import binascii
- import io
class octetstring(str):
def __str__(self):
diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py
index 2b1e2b8..0bf679b 100644
--- a/Lib/test/test_email/test_email.py
+++ b/Lib/test/test_email/test_email.py
@@ -7,7 +7,6 @@ import time
import base64
import unittest
import textwrap
-import warnings
from io import StringIO, BytesIO
from itertools import chain
@@ -45,7 +44,7 @@ from test.test_email import openfile, TestEmailBase
# These imports are documented to work, but we are testing them using a
# different path, so we import them here just to make sure they are importable.
-from email.parser import FeedParser, BytesFeedParser
+from email.parser import FeedParser
NL = '\n'
EMPTYSTRING = ''
diff --git a/Lib/test/test_exception_group.py b/Lib/test/test_exception_group.py
index 2cfd873..3ea5dff 100644
--- a/Lib/test/test_exception_group.py
+++ b/Lib/test/test_exception_group.py
@@ -1,5 +1,4 @@
import collections.abc
-import traceback
import types
import unittest
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index ff1a028..d913085 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -1,7 +1,6 @@
# Python test set -- part 5, built-in exceptions
import copy
-import gc
import os
import sys
import unittest
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index d8c0fe18..672ec14 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -8,7 +8,6 @@ import time
import unittest
from test import support
-from test.support import import_helper
from test.test_grammar import (VALID_UNDERSCORE_LITERALS,
INVALID_UNDERSCORE_LITERALS)
from math import isinf, isnan, copysign, ldexp
diff --git a/Lib/test/test_flufl.py b/Lib/test/test_flufl.py
index a81a4d4..fd264c9 100644
--- a/Lib/test/test_flufl.py
+++ b/Lib/test/test_flufl.py
@@ -1,6 +1,5 @@
import __future__
import unittest
-from test import support
class FLUFLTests(unittest.TestCase):
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py
index 382e7db..767d2a9 100644
--- a/Lib/test/test_functools.py
+++ b/Lib/test/test_functools.py
@@ -13,7 +13,6 @@ import time
import typing
import unittest
import unittest.mock
-import os
import weakref
import gc
from weakref import proxy
@@ -21,7 +20,6 @@ import contextlib
from test.support import import_helper
from test.support import threading_helper
-from test.support.script_helper import assert_python_ok
import functools
diff --git a/Lib/test/test_future.py b/Lib/test/test_future.py
index c3e8420..189cbdc 100644
--- a/Lib/test/test_future.py
+++ b/Lib/test/test_future.py
@@ -3,7 +3,6 @@
import __future__
import ast
import unittest
-from test import support
from test.support import import_helper
from textwrap import dedent
import os
diff --git a/Lib/test/test_getpath.py b/Lib/test/test_getpath.py
index 5208374..1e46cb5 100644
--- a/Lib/test/test_getpath.py
+++ b/Lib/test/test_getpath.py
@@ -2,7 +2,6 @@ import copy
import ntpath
import pathlib
import posixpath
-import sys
import unittest
from test.support import verbose
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py
index cb1e450..1aa8e4e 100644
--- a/Lib/test/test_heapq.py
+++ b/Lib/test/test_heapq.py
@@ -4,7 +4,6 @@ import random
import unittest
import doctest
-from test import support
from test.support import import_helper
from unittest import TestCase, skipUnless
from operator import itemgetter
diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py
index f0d205a..f8291c2 100644
--- a/Lib/test/test_http_cookiejar.py
+++ b/Lib/test/test_http_cookiejar.py
@@ -4,7 +4,6 @@ import os
import stat
import sys
import re
-import test.support
from test.support import os_helper
from test.support import warnings_helper
import time
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index ed26fa1..b554bc0 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -10,9 +10,7 @@ import calendar
import threading
import socket
-from test.support import (verbose,
- run_with_tz, run_with_locale, cpython_only,
- requires_working_socket)
+from test.support import verbose, run_with_tz, run_with_locale, cpython_only
from test.support import hashlib_helper
from test.support import threading_helper
from test.support import warnings_helper
diff --git a/Lib/test/test_importlib/test_abc.py b/Lib/test/test_importlib/test_abc.py
index 92cb780..d59b663 100644
--- a/Lib/test/test_importlib/test_abc.py
+++ b/Lib/test/test_importlib/test_abc.py
@@ -2,7 +2,6 @@ import io
import marshal
import os
import sys
-from test import support
from test.support import import_helper
import types
import unittest
diff --git a/Lib/test/test_importlib/test_api.py b/Lib/test/test_importlib/test_api.py
index e94a48f..b3a99dc 100644
--- a/Lib/test/test_importlib/test_api.py
+++ b/Lib/test/test_importlib/test_api.py
@@ -6,7 +6,6 @@ machinery = test_util.import_importlib('importlib.machinery')
import os.path
import sys
-from test import support
from test.support import import_helper
from test.support import os_helper
import types
diff --git a/Lib/test/test_launcher.py b/Lib/test/test_launcher.py
index e9f6fcb..cd7b944 100644
--- a/Lib/test/test_launcher.py
+++ b/Lib/test/test_launcher.py
@@ -7,7 +7,6 @@ import subprocess
import sys
import sysconfig
import tempfile
-import textwrap
import unittest
from pathlib import Path
from test import support
diff --git a/Lib/test/test_lltrace.py b/Lib/test/test_lltrace.py
index 5d175ce..7cf8984 100644
--- a/Lib/test/test_lltrace.py
+++ b/Lib/test/test_lltrace.py
@@ -1,5 +1,4 @@
import dis
-import sys
import textwrap
import unittest
diff --git a/Lib/test/test_mailcap.py b/Lib/test/test_mailcap.py
index 8185f4a..819dc80 100644
--- a/Lib/test/test_mailcap.py
+++ b/Lib/test/test_mailcap.py
@@ -3,7 +3,6 @@ import os
import sys
import test.support
import unittest
-import warnings
from test.support import os_helper
from test.support import warnings_helper
diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py
index 797c902..f327ecf 100644
--- a/Lib/test/test_nis.py
+++ b/Lib/test/test_nis.py
@@ -1,4 +1,3 @@
-from test import support
from test.support import import_helper
import unittest
import warnings
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 4f632bb..133abf5 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -15,7 +15,6 @@ import sys
import sysconfig
import tempfile
import textwrap
-import time
import unittest
from test import libregrtest
from test import support
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py
index ca2a9d9..a82584d 100644
--- a/Lib/test/test_select.py
+++ b/Lib/test/test_select.py
@@ -1,5 +1,4 @@
import errno
-import os
import select
import subprocess
import sys
diff --git a/Lib/test/test_shelve.py b/Lib/test/test_shelve.py
index b9eb007..08c6562 100644
--- a/Lib/test/test_shelve.py
+++ b/Lib/test/test_shelve.py
@@ -1,11 +1,9 @@
import unittest
import dbm
import shelve
-import glob
import pickle
import os
-from test import support
from test.support import os_helper
from collections.abc import MutableMapping
from test.test_dbm import dbm_iterator
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index dd018d6..e66a2db 100644
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -10,10 +10,9 @@ from test import support
from test.support import os_helper
from test.support import socket_helper
from test.support import captured_stderr
-from test.support.os_helper import TESTFN, EnvironmentVarGuard, change_cwd
+from test.support.os_helper import TESTFN, EnvironmentVarGuard
import ast
import builtins
-import encodings
import glob
import io
import os
diff --git a/Lib/test/test_sqlite3/__init__.py b/Lib/test/test_sqlite3/__init__.py
index 099c01e..c3cab8f 100644
--- a/Lib/test/test_sqlite3/__init__.py
+++ b/Lib/test/test_sqlite3/__init__.py
@@ -3,7 +3,6 @@ from test.support import import_helper, load_package_tests, verbose
# Skip test if _sqlite3 module not installed.
import_helper.import_module('_sqlite3')
-import unittest
import os
import sqlite3
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 1679700..c00d7d5 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -11,7 +11,6 @@ from test.support import (
from test.support.import_helper import import_module
from test.support.os_helper import (TESTFN, unlink, skip_unless_symlink,
change_cwd)
-from test.support.warnings_helper import check_warnings
import sysconfig
from sysconfig import (get_paths, get_platform, get_config_vars,
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 5489147..cd79024 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -1,10 +1,7 @@
import unittest
-import locale
-import re
import subprocess
import sys
import os
-import warnings
from test import support
from test.support import import_helper
from test.support import os_helper
diff --git a/Lib/test/test_threading_local.py b/Lib/test/test_threading_local.py
index 9888e63..48e3029 100644
--- a/Lib/test/test_threading_local.py
+++ b/Lib/test/test_threading_local.py
@@ -4,7 +4,6 @@ from doctest import DocTestSuite
from test import support
from test.support import threading_helper
import weakref
-import gc
# Modules under test
import _thread
diff --git a/Lib/test/test_tools/test_md5sum.py b/Lib/test/test_tools/test_md5sum.py
index c5a230e..710461f 100644
--- a/Lib/test/test_tools/test_md5sum.py
+++ b/Lib/test/test_tools/test_md5sum.py
@@ -1,6 +1,5 @@
"""Tests for the md5sum script in the Tools directory."""
-import sys
import os
import unittest
from test.support import os_helper
diff --git a/Lib/test/test_tools/test_pathfix.py b/Lib/test/test_tools/test_pathfix.py
index ff61935..aa754bc 100644
--- a/Lib/test/test_tools/test_pathfix.py
+++ b/Lib/test/test_tools/test_pathfix.py
@@ -2,7 +2,6 @@ import os
import subprocess
import sys
import unittest
-from test import support
from test.support import os_helper
from test.test_tools import scriptsdir, skip_if_missing
diff --git a/Lib/test/test_tools/test_pindent.py b/Lib/test/test_tools/test_pindent.py
index 01f1385..61e97fe 100644
--- a/Lib/test/test_tools/test_pindent.py
+++ b/Lib/test/test_tools/test_pindent.py
@@ -5,7 +5,6 @@ import sys
import unittest
import subprocess
import textwrap
-from test import support
from test.support import os_helper
from test.support.script_helper import assert_python_ok
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index ed5ddf9..07472e2 100644
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -14,7 +14,6 @@ from test.support import (Error, captured_output, cpython_only, ALWAYS_EQ,
from test.support.os_helper import TESTFN, unlink
from test.support.script_helper import assert_python_ok, assert_python_failure
-import os
import textwrap
import traceback
from functools import partial
diff --git a/Lib/test/test_type_comments.py b/Lib/test/test_type_comments.py
index 71d1430..668c178 100644
--- a/Lib/test/test_type_comments.py
+++ b/Lib/test/test_type_comments.py
@@ -1,7 +1,6 @@
import ast
import sys
import unittest
-from test import support
funcdef = """\
diff --git a/Lib/test/test_univnewlines.py b/Lib/test/test_univnewlines.py
index b905491..ed2e097 100644
--- a/Lib/test/test_univnewlines.py
+++ b/Lib/test/test_univnewlines.py
@@ -4,7 +4,6 @@ import _pyio as pyio
import unittest
import os
import sys
-from test import support
from test.support import os_helper
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index 46a0ab1..88270b7 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -1,7 +1,6 @@
import unittest
from test import support
from test.support import os_helper
-from test.support import socket_helper
from test.support import warnings_helper
from test import test_urllib
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
index 37b61a7..e6a870f 100644
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -15,7 +15,7 @@ import struct
import subprocess
import sys
import tempfile
-from test.support import (captured_stdout, captured_stderr, requires_zlib,
+from test.support import (captured_stdout, captured_stderr,
skip_if_broken_multiprocessing_synchronize, verbose,
requires_subprocess, is_emscripten, is_wasi,
requires_venv_with_pip)