mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #23277: Remove unused support.run_unittest import.
This commit is contained in:
parent
c7f44aa99a
commit
597d15afe4
15 changed files with 4 additions and 16 deletions
|
@ -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 @@
|
||||||
# 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 @@
|
||||||
# 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 @@
|
||||||
# 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
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from test import support
|
|
||||||
|
|
||||||
# For scope testing.
|
# For scope testing.
|
||||||
g = "Global variable"
|
g = "Global variable"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
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:
|
||||||
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 @@
|
||||||
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
|
||||||
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')).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
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
|
||||||
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 @@
|
||||||
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 @@
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue