mirror of
https://github.com/python/cpython.git
synced 2024-11-21 12:59:38 +01:00
gh-120417: Remove unused imports in tests (part 4) (#120632)
This commit is contained in:
parent
5c4235cd8c
commit
f4d301d8b9
@ -13,7 +13,6 @@ import codecs
|
||||
import subprocess
|
||||
import binascii
|
||||
import collections
|
||||
import time
|
||||
import zoneinfo
|
||||
from test import support
|
||||
from test.support import os_helper
|
||||
|
@ -8,7 +8,6 @@ import itertools
|
||||
import pprint
|
||||
import random
|
||||
import re
|
||||
import test.support
|
||||
import types
|
||||
import unittest
|
||||
|
||||
|
@ -2,10 +2,9 @@ import itertools
|
||||
import functools
|
||||
import rlcompleter
|
||||
from unittest import TestCase
|
||||
from unittest.mock import MagicMock, patch
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from .support import handle_all_events, handle_events_narrow_console, code_to_events, prepare_reader
|
||||
from test.support import import_helper
|
||||
from _pyrepl.console import Event
|
||||
from _pyrepl.reader import Reader
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
# to ensure the Queue locks remain stable.
|
||||
import itertools
|
||||
import random
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import unittest
|
||||
|
@ -6,7 +6,6 @@ import locale
|
||||
import re
|
||||
import string
|
||||
import sys
|
||||
import time
|
||||
import unittest
|
||||
import warnings
|
||||
from re import Scanner
|
||||
|
@ -1,5 +1,4 @@
|
||||
import pickle
|
||||
import textwrap
|
||||
import types
|
||||
import unittest
|
||||
from test.support import check_syntax_error, run_code
|
||||
|
@ -2,10 +2,7 @@
|
||||
|
||||
import os
|
||||
import pathlib
|
||||
import random
|
||||
import re
|
||||
import threading
|
||||
import time
|
||||
import unittest
|
||||
from test.support import import_helper, os_helper
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user