mirror of https://github.com/python/cpython
#22092: merge with 3.4.
This commit is contained in:
commit
869778e520
|
@ -14,7 +14,7 @@ from test import support
|
|||
|
||||
import unittest
|
||||
|
||||
from .support import (
|
||||
from unittest.test.support import (
|
||||
TestEquality, TestHashing, LoggingResult, LegacyLoggingResult,
|
||||
ResultWithNoStartTestRunStopTestRun
|
||||
)
|
||||
|
|
|
@ -6,6 +6,7 @@ import builtins
|
|||
from test import support
|
||||
|
||||
import unittest
|
||||
import unittest.test
|
||||
|
||||
|
||||
class TestableTestProgram(unittest.TestProgram):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from .support import LoggingResult
|
||||
from unittest.test.support import LoggingResult
|
||||
|
||||
|
||||
class Test_FunctionTestCase(unittest.TestCase):
|
||||
|
|
|
@ -4,6 +4,7 @@ import os
|
|||
import sys
|
||||
from test import support
|
||||
import unittest
|
||||
import unittest.test
|
||||
|
||||
|
||||
class Test_TestProgram(unittest.TestCase):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from .support import LoggingResult
|
||||
from unittest.test.support import LoggingResult
|
||||
|
||||
|
||||
class Test_TestSkipping(unittest.TestCase):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue