Remove unused support.run_unittest imports.
It is not needed since tests use unittest.main().
This commit is contained in:
parent
8153ac8f00
commit
e4fbb0206d
|
@ -9,7 +9,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
|
|||
|
||||
"""#"
|
||||
|
||||
import test.support, unittest
|
||||
import unittest
|
||||
|
||||
import codecs
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec encoding tests for PRC encodings.
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec encoding tests for HongKong encodings.
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# Codec encoding tests for ISO 2022 encodings.
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec encoding tests for Japanese encodings.
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec encoding tests for ROK encodings.
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec encoding tests for ROC encodings.
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Codec mapping tests for Japanese encodings
|
||||
#
|
||||
|
||||
from test import support
|
||||
from test import multibytecodec_support
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ import socket
|
|||
import time
|
||||
import unittest
|
||||
|
||||
from test import support
|
||||
if not hasattr(select, "epoll"):
|
||||
raise unittest.SkipTest("test works only on Linux 2.6")
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ import hmac
|
|||
import hashlib
|
||||
import unittest
|
||||
import warnings
|
||||
from test import support
|
||||
|
||||
|
||||
def ignore_warning(func):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import sys
|
||||
from test import support, list_tests
|
||||
from test import list_tests
|
||||
import pickle
|
||||
import unittest
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import test.support, unittest
|
||||
import unittest
|
||||
|
||||
class PowTest(unittest.TestCase):
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Python test set -- built-in functions
|
||||
|
||||
import test.support, unittest
|
||||
import unittest
|
||||
import sys
|
||||
import pickle
|
||||
import itertools
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Check every path through every method of UserDict
|
||||
|
||||
from test import support, mapping_tests
|
||||
from test import mapping_tests
|
||||
import unittest
|
||||
import collections
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Check every path through every method of UserList
|
||||
|
||||
from collections import UserList
|
||||
from test import support, list_tests
|
||||
from test import list_tests
|
||||
import unittest
|
||||
|
||||
class UserListTest(list_tests.CommonTest):
|
||||
|
|
Loading…
Reference in New Issue