Index: unittest.py =================================================================== --- unittest.py (revision 60221) +++ unittest.py (working copy) @@ -457,11 +457,12 @@ def loadTestsFromModule(self, module): """Return a suite of all tests cases contained in the given module""" + import unittest tests = [] for name in dir(module): obj = getattr(module, name) if (isinstance(obj, (type, types.ClassType)) and - issubclass(obj, TestCase)): + issubclass(obj, unittest.TestCase)): tests.append(self.loadTestsFromTestCase(obj)) return self.suiteClass(tests)