Issue #23277: Remove unused support.run_unittest import.
This commit is contained in:
parent
c7f44aa99a
commit
597d15afe4
|
@ -3,7 +3,6 @@
|
|||
# Codec mapping tests for PRC encodings
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec mapping tests for HongKong encodings
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec mapping tests for ROK encodings
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec mapping tests for ROC encodings
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import unittest
|
||||
|
||||
from test import support
|
||||
|
||||
# For scope testing.
|
||||
g = "Global variable"
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# email package unit tests for (optional) Asian codecs
|
||||
|
||||
import unittest
|
||||
from test.support import run_unittest
|
||||
|
||||
from test.test_email.test_email import TestEmailBase
|
||||
from email.charset import Charset
|
||||
|
|
|
@ -7,7 +7,7 @@ from weakref import proxy
|
|||
import io
|
||||
import _pyio as pyio
|
||||
|
||||
from test.support import TESTFN, run_unittest
|
||||
from test.support import TESTFN
|
||||
from collections import UserList
|
||||
|
||||
class AutoFileTests:
|
||||
|
|
|
@ -22,7 +22,7 @@ except ImportError:
|
|||
from io import BytesIO, StringIO
|
||||
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 import support
|
||||
from unittest import mock
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
import html.parser
|
||||
import pprint
|
||||
import unittest
|
||||
from test import support
|
||||
|
||||
|
||||
class EventCollector(html.parser.HTMLParser):
|
||||
|
|
|
@ -7,7 +7,6 @@ import types
|
|||
import unittest
|
||||
|
||||
from test.test_importlib import util
|
||||
from test.support import run_unittest
|
||||
|
||||
# needed tests:
|
||||
#
|
||||
|
|
|
@ -42,7 +42,6 @@ enumerate(iter('abc')).
|
|||
"""
|
||||
|
||||
import unittest
|
||||
from test import support
|
||||
from itertools import repeat
|
||||
from collections import deque
|
||||
from operator import length_hint
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import macpath
|
||||
from test import support, test_genericpath
|
||||
from test import test_genericpath
|
||||
import unittest
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ import queue
|
|||
import sched
|
||||
import time
|
||||
import unittest
|
||||
from test import support
|
||||
try:
|
||||
import threading
|
||||
except ImportError:
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
import os
|
||||
import unittest
|
||||
import tempfile
|
||||
from test import support
|
||||
|
||||
from test.test_tools import scriptsdir, skip_if_missing, import_tool
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import string
|
||||
import unittest
|
||||
from test import support, string_tests
|
||||
from test import string_tests
|
||||
|
||||
from collections import UserString
|
||||
|
||||
|
|
Loading…
Reference in New Issue