Move a support TestCase out of the main namespace in unittest.test.test_suite
diff --git a/Lib/unittest/test/test_suite.py b/Lib/unittest/test/test_suite.py
index 8430e72..7cd2b89 100644
--- a/Lib/unittest/test/test_suite.py
+++ b/Lib/unittest/test/test_suite.py
@@ -6,15 +6,15 @@
### Support code for Test_TestSuite
################################################################
-# This will be loaded as a test - problem?
-class Foo(unittest.TestCase):
- def test_1(self): pass
- def test_2(self): pass
- def test_3(self): pass
- def runTest(self): pass
+class Test(object):
+ class Foo(unittest.TestCase):
+ def test_1(self): pass
+ def test_2(self): pass
+ def test_3(self): pass
+ def runTest(self): pass
def _mk_TestSuite(*names):
- return unittest.TestSuite(Foo(n) for n in names)
+ return unittest.TestSuite(Test.Foo(n) for n in names)
################################################################