diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2014-08-07 00:28:26 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2014-08-07 00:28:26 (GMT) |
commit | 869778e520a6bdf0d76e9f9e62fec2554d832f8b (patch) | |
tree | cafd6e239817a413a8886ff1b56d8a3aa20faf46 /Lib/unittest | |
parent | b349e4c929131eb708ff3db569077f0c851338e9 (diff) | |
parent | 1241c47aa2af26d90be1fdb6b0990a08bf9beafd (diff) | |
download | cpython-869778e520a6bdf0d76e9f9e62fec2554d832f8b.zip cpython-869778e520a6bdf0d76e9f9e62fec2554d832f8b.tar.gz cpython-869778e520a6bdf0d76e9f9e62fec2554d832f8b.tar.bz2 |
#22092: merge with 3.4.
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/test/test_case.py | 2 | ||||
-rw-r--r-- | Lib/unittest/test/test_discovery.py | 1 | ||||
-rw-r--r-- | Lib/unittest/test/test_functiontestcase.py | 2 | ||||
-rw-r--r-- | Lib/unittest/test/test_program.py | 1 | ||||
-rw-r--r-- | Lib/unittest/test/test_runner.py | 3 | ||||
-rw-r--r-- | Lib/unittest/test/test_skipping.py | 2 | ||||
-rw-r--r-- | Lib/unittest/test/test_suite.py | 2 |
7 files changed, 8 insertions, 5 deletions
diff --git a/Lib/unittest/test/test_case.py b/Lib/unittest/test/test_case.py index aae7ec3..f6f0dfe 100644 --- a/Lib/unittest/test/test_case.py +++ b/Lib/unittest/test/test_case.py @@ -14,7 +14,7 @@ from test import support import unittest -from .support import ( +from unittest.test.support import ( TestEquality, TestHashing, LoggingResult, LegacyLoggingResult, ResultWithNoStartTestRunStopTestRun ) diff --git a/Lib/unittest/test/test_discovery.py b/Lib/unittest/test/test_discovery.py index 6b7b128..abb9066 100644 --- a/Lib/unittest/test/test_discovery.py +++ b/Lib/unittest/test/test_discovery.py @@ -6,6 +6,7 @@ import builtins from test import support import unittest +import unittest.test class TestableTestProgram(unittest.TestProgram): diff --git a/Lib/unittest/test/test_functiontestcase.py b/Lib/unittest/test/test_functiontestcase.py index d7fe07a..c5f2bcb 100644 --- a/Lib/unittest/test/test_functiontestcase.py +++ b/Lib/unittest/test/test_functiontestcase.py @@ -1,6 +1,6 @@ import unittest -from .support import LoggingResult +from unittest.test.support import LoggingResult class Test_FunctionTestCase(unittest.TestCase): diff --git a/Lib/unittest/test/test_program.py b/Lib/unittest/test/test_program.py index 3294298..725d67f 100644 --- a/Lib/unittest/test/test_program.py +++ b/Lib/unittest/test/test_program.py @@ -4,6 +4,7 @@ import os import sys from test import support import unittest +import unittest.test class Test_TestProgram(unittest.TestCase): diff --git a/Lib/unittest/test/test_runner.py b/Lib/unittest/test/test_runner.py index ef1c1af9..7c0bd51 100644 --- a/Lib/unittest/test/test_runner.py +++ b/Lib/unittest/test/test_runner.py @@ -7,7 +7,8 @@ import subprocess import unittest from unittest.case import _Outcome -from .support import LoggingResult, ResultWithNoStartTestRunStopTestRun +from unittest.test.support import (LoggingResult, + ResultWithNoStartTestRunStopTestRun) class TestCleanUp(unittest.TestCase): diff --git a/Lib/unittest/test/test_skipping.py b/Lib/unittest/test/test_skipping.py index 314a7a4..807510f 100644 --- a/Lib/unittest/test/test_skipping.py +++ b/Lib/unittest/test/test_skipping.py @@ -1,6 +1,6 @@ import unittest -from .support import LoggingResult +from unittest.test.support import LoggingResult class Test_TestSkipping(unittest.TestCase): diff --git a/Lib/unittest/test/test_suite.py b/Lib/unittest/test/test_suite.py index 38311ca..0551a16 100644 --- a/Lib/unittest/test/test_suite.py +++ b/Lib/unittest/test/test_suite.py @@ -3,7 +3,7 @@ import unittest import gc import sys import weakref -from .support import LoggingResult, TestEquality +from unittest.test.support import LoggingResult, TestEquality ### Support code for Test_TestSuite |