Skip to content

Commit

Permalink
gh-120417: Remove unused imports in tests (part 4) (#120632)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored Jun 17, 2024
1 parent 5c4235c commit f4d301d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion Lib/test/test_plistlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import subprocess
import binascii
import collections
import time
import zoneinfo
from test import support
from test.support import os_helper
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_pprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import pprint
import random
import re
import test.support
import types
import unittest

Expand Down
3 changes: 1 addition & 2 deletions Lib/test/test_pyrepl/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
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

Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# to ensure the Queue locks remain stable.
import itertools
import random
import sys
import threading
import time
import unittest
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_re.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import re
import string
import sys
import time
import unittest
import warnings
from re import Scanner
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_type_aliases.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pickle
import textwrap
import types
import unittest
from test.support import check_syntax_error, run_code
Expand Down
3 changes: 0 additions & 3 deletions Lib/test/test_winapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f4d301d

Please sign in to comment.