Commit 597d15af authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #23277: Remove unused support.run_unittest import.

parent c7f44aa9
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Codec mapping tests for PRC encodings # Codec mapping tests for PRC encodings
# #
from test import support
from test import multibytecodec_support from test import multibytecodec_support
import unittest import unittest
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Codec mapping tests for HongKong encodings # Codec mapping tests for HongKong encodings
# #
from test import support
from test import multibytecodec_support from test import multibytecodec_support
import unittest import unittest
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Codec mapping tests for ROK encodings # Codec mapping tests for ROK encodings
# #
from test import support
from test import multibytecodec_support from test import multibytecodec_support
import unittest import unittest
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Codec mapping tests for ROC encodings # Codec mapping tests for ROC encodings
# #
from test import support
from test import multibytecodec_support from test import multibytecodec_support
import unittest import unittest
......
import unittest import unittest
from test import support
# For scope testing. # For scope testing.
g = "Global variable" g = "Global variable"
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# email package unit tests for (optional) Asian codecs # email package unit tests for (optional) Asian codecs
import unittest import unittest
from test.support import run_unittest
from test.test_email.test_email import TestEmailBase from test.test_email.test_email import TestEmailBase
from email.charset import Charset from email.charset import Charset
......
...@@ -7,7 +7,7 @@ from weakref import proxy ...@@ -7,7 +7,7 @@ from weakref import proxy
import io import io
import _pyio as pyio import _pyio as pyio
from test.support import TESTFN, run_unittest from test.support import TESTFN
from collections import UserList from collections import UserList
class AutoFileTests: class AutoFileTests:
......
...@@ -22,7 +22,7 @@ except ImportError: ...@@ -22,7 +22,7 @@ except ImportError:
from io import BytesIO, StringIO from io import BytesIO, StringIO
from fileinput import FileInput, hook_encoded from fileinput import FileInput, hook_encoded
from test.support import verbose, TESTFN, run_unittest, check_warnings from test.support import verbose, TESTFN, check_warnings
from test.support import unlink as safe_unlink from test.support import unlink as safe_unlink
from test import support from test import support
from unittest import mock from unittest import mock
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
import html.parser import html.parser
import pprint import pprint
import unittest import unittest
from test import support
class EventCollector(html.parser.HTMLParser): class EventCollector(html.parser.HTMLParser):
......
...@@ -7,7 +7,6 @@ import types ...@@ -7,7 +7,6 @@ import types
import unittest import unittest
from test.test_importlib import util from test.test_importlib import util
from test.support import run_unittest
# needed tests: # needed tests:
# #
......
...@@ -42,7 +42,6 @@ enumerate(iter('abc')). ...@@ -42,7 +42,6 @@ enumerate(iter('abc')).
""" """
import unittest import unittest
from test import support
from itertools import repeat from itertools import repeat
from collections import deque from collections import deque
from operator import length_hint from operator import length_hint
......
import macpath import macpath
from test import support, test_genericpath from test import test_genericpath
import unittest import unittest
......
...@@ -2,7 +2,6 @@ import queue ...@@ -2,7 +2,6 @@ import queue
import sched import sched
import time import time
import unittest import unittest
from test import support
try: try:
import threading import threading
except ImportError: except ImportError:
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
import os import os
import unittest import unittest
import tempfile import tempfile
from test import support
from test.test_tools import scriptsdir, skip_if_missing, import_tool from test.test_tools import scriptsdir, skip_if_missing, import_tool
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import string import string
import unittest import unittest
from test import support, string_tests from test import string_tests
from collections import UserString from collections import UserString
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment