summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-27 14:05:26 (GMT)
committerGitHub <noreply@github.com>2017-03-27 14:05:26 (GMT)
commitd6debb24e06152a827769b0cac24c47deccdeac1 (patch)
treef26655d4333391e344dac8cbf6cf2dc08c18b8b4 /Lib/unittest
parent604e74c6beb2585c81083fa85f0e5a4d46965cbc (diff)
downloadcpython-d6debb24e06152a827769b0cac24c47deccdeac1.zip
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.gz
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.bz2
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/__main__.py b/Lib/unittest/__main__.py
index 2663178..e5876f5 100644
--- a/Lib/unittest/__main__.py
+++ b/Lib/unittest/__main__.py
@@ -13,6 +13,6 @@ if sys.argv[0].endswith("__main__.py"):
__unittest = True
-from .main import main, TestProgram
+from .main import main
main(module=None)