diff --git a/django/test/simple.py b/django/test/simple.py
index c123067..d0b9a70 100644
a
|
b
|
|
| 1 | import unittest as real_unittest |
1 | 2 | from django.conf import settings |
2 | 3 | from django.core.exceptions import ImproperlyConfigured |
3 | 4 | from django.db.models import get_app, get_apps |
… |
… |
def build_test(label):
|
113 | 114 | TestClass = getattr(test_module, parts[1], None) |
114 | 115 | |
115 | 116 | try: |
116 | | if issubclass(TestClass, unittest.TestCase): |
| 117 | if issubclass(TestClass, (unittest.TestCase, real_unittest.TestCase)): |
117 | 118 | if len(parts) == 2: # label is app.TestClass |
118 | 119 | try: |
119 | 120 | return unittest.TestLoader().loadTestsFromTestCase(TestClass) |