mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Remove unused support.run_unittest imports.
It is not needed since tests use unittest.main().
This commit is contained in:
parent
8153ac8f00
commit
e4fbb0206d
15 changed files with 6 additions and 15 deletions
|
@ -9,7 +9,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
|
||||||
|
|
||||||
"""#"
|
"""#"
|
||||||
|
|
||||||
import test.support, unittest
|
import unittest
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
# Codec encoding tests for PRC encodings.
|
# Codec encoding 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 encoding tests for HongKong encodings.
|
# Codec encoding tests for HongKong encodings.
|
||||||
#
|
#
|
||||||
|
|
||||||
from test import support
|
|
||||||
from test import multibytecodec_support
|
from test import multibytecodec_support
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# Codec encoding tests for ISO 2022 encodings.
|
# Codec encoding tests for ISO 2022 encodings.
|
||||||
|
|
||||||
from test import support
|
|
||||||
from test import multibytecodec_support
|
from test import multibytecodec_support
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
# Codec encoding tests for Japanese encodings.
|
# Codec encoding tests for Japanese encodings.
|
||||||
#
|
#
|
||||||
|
|
||||||
from test import support
|
|
||||||
from test import multibytecodec_support
|
from test import multibytecodec_support
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
# Codec encoding tests for ROK encodings.
|
# Codec encoding 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 encoding tests for ROC encodings.
|
# Codec encoding tests for ROC 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 Japanese encodings
|
# Codec mapping tests for Japanese encodings
|
||||||
#
|
#
|
||||||
|
|
||||||
from test import support
|
|
||||||
from test import multibytecodec_support
|
from test import multibytecodec_support
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ import socket
|
||||||
import time
|
import time
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from test import support
|
|
||||||
if not hasattr(select, "epoll"):
|
if not hasattr(select, "epoll"):
|
||||||
raise unittest.SkipTest("test works only on Linux 2.6")
|
raise unittest.SkipTest("test works only on Linux 2.6")
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ import hmac
|
||||||
import hashlib
|
import hashlib
|
||||||
import unittest
|
import unittest
|
||||||
import warnings
|
import warnings
|
||||||
from test import support
|
|
||||||
|
|
||||||
|
|
||||||
def ignore_warning(func):
|
def ignore_warning(func):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import sys
|
import sys
|
||||||
from test import support, list_tests
|
from test import list_tests
|
||||||
import pickle
|
import pickle
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import test.support, unittest
|
import unittest
|
||||||
|
|
||||||
class PowTest(unittest.TestCase):
|
class PowTest(unittest.TestCase):
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Python test set -- built-in functions
|
# Python test set -- built-in functions
|
||||||
|
|
||||||
import test.support, unittest
|
import unittest
|
||||||
import sys
|
import sys
|
||||||
import pickle
|
import pickle
|
||||||
import itertools
|
import itertools
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Check every path through every method of UserDict
|
# Check every path through every method of UserDict
|
||||||
|
|
||||||
from test import support, mapping_tests
|
from test import mapping_tests
|
||||||
import unittest
|
import unittest
|
||||||
import collections
|
import collections
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Check every path through every method of UserList
|
# Check every path through every method of UserList
|
||||||
|
|
||||||
from collections import UserList
|
from collections import UserList
|
||||||
from test import support, list_tests
|
from test import list_tests
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
class UserListTest(list_tests.CommonTest):
|
class UserListTest(list_tests.CommonTest):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue