Remove unused support.run_unittest imports.

It is not needed since tests use unittest.main().
This commit is contained in:
Serhiy Storchaka 2016-04-24 23:42:49 +03:00
parent 8153ac8f00
commit e4fbb0206d
15 changed files with 6 additions and 15 deletions

View File

@ -9,7 +9,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
"""#"
import test.support, unittest
import unittest
import codecs

View File

@ -3,7 +3,6 @@
# Codec encoding tests for PRC encodings.
#
from test import support
from test import multibytecodec_support
import unittest

View File

@ -3,7 +3,6 @@
# Codec encoding tests for HongKong encodings.
#
from test import support
from test import multibytecodec_support
import unittest

View File

@ -1,6 +1,5 @@
# Codec encoding tests for ISO 2022 encodings.
from test import support
from test import multibytecodec_support
import unittest

View File

@ -3,7 +3,6 @@
# Codec encoding tests for Japanese encodings.
#
from test import support
from test import multibytecodec_support
import unittest

View File

@ -3,7 +3,6 @@
# Codec encoding tests for ROK encodings.
#
from test import support
from test import multibytecodec_support
import unittest

View File

@ -3,7 +3,6 @@
# Codec encoding tests for ROC encodings.
#
from test import support
from test import multibytecodec_support
import unittest

View File

@ -3,7 +3,6 @@
# Codec mapping tests for Japanese encodings
#
from test import support
from test import multibytecodec_support
import unittest

View File

@ -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")

View File

@ -3,7 +3,6 @@ import hmac
import hashlib
import unittest
import warnings
from test import support
def ignore_warning(func):

View File

@ -1,5 +1,5 @@
import sys
from test import support, list_tests
from test import list_tests
import pickle
import unittest

View File

@ -1,4 +1,4 @@
import test.support, unittest
import unittest
class PowTest(unittest.TestCase):

View File

@ -1,6 +1,6 @@
# Python test set -- built-in functions
import test.support, unittest
import unittest
import sys
import pickle
import itertools

View File

@ -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

View File

@ -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):