summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-11-04 07:25:54 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-11-04 07:25:54 (GMT)
commitc53ae589548e37c4bd86f03294a27667978a51f8 (patch)
tree4d02f1f5bf4d612dcaab941d42ea4bcc2c6b9066 /Lib/unittest
parentab1078b987720c99a7d96b1ce915bc15c8749d64 (diff)
downloadcpython-c53ae589548e37c4bd86f03294a27667978a51f8.zip
cpython-c53ae589548e37c4bd86f03294a27667978a51f8.tar.gz
cpython-c53ae589548e37c4bd86f03294a27667978a51f8.tar.bz2
Drop unused import in unittest package.
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/case.py3
-rw-r--r--Lib/unittest/main.py1
-rw-r--r--Lib/unittest/result.py1
-rw-r--r--Lib/unittest/test/_test_warnings.py1
4 files changed, 1 insertions, 5 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index cc5f0c3..5bed868 100644
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -9,8 +9,7 @@ import warnings
import collections
from . import result
-from .util import (strclass, safe_repr, sorted_list_difference,
- unorderable_list_difference, _count_diff_all_purpose,
+from .util import (strclass, safe_repr, _count_diff_all_purpose,
_count_diff_hashable)
__unittest = True
diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py
index 55d4e4b..c50066f 100644
--- a/Lib/unittest/main.py
+++ b/Lib/unittest/main.py
@@ -2,7 +2,6 @@
import sys
import os
-import types
from . import loader, runner
from .signals import installHandler
diff --git a/Lib/unittest/result.py b/Lib/unittest/result.py
index 44bf186..97e5426 100644
--- a/Lib/unittest/result.py
+++ b/Lib/unittest/result.py
@@ -1,6 +1,5 @@
"""Test result object"""
-import os
import io
import sys
import traceback
diff --git a/Lib/unittest/test/_test_warnings.py b/Lib/unittest/test/_test_warnings.py
index d0be18d..5cbfb53 100644
--- a/Lib/unittest/test/_test_warnings.py
+++ b/Lib/unittest/test/_test_warnings.py
@@ -10,7 +10,6 @@ combinations of warnings args and -W flags and check that the output is correct.
See #10535.
"""
-import io
import sys
import unittest
import warnings