summaryrefslogtreecommitdiff
path: root/tests/generic_relations
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic_relations')
-rw-r--r--tests/generic_relations/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py
index 05ce20f078..47545bdef9 100644
--- a/tests/generic_relations/tests.py
+++ b/tests/generic_relations/tests.py
@@ -5,7 +5,7 @@ from django.contrib.contenttypes.forms import generic_inlineformset_factory
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import FieldError
from django.db.models import Q
-from django.test import TestCase
+from django.test import SimpleTestCase, TestCase
from django.utils import six
from .models import (
@@ -618,7 +618,7 @@ class ProxyRelatedModelTest(TestCase):
self.assertEqual(base, newrel.bases.get())
-class TestInitWithNoneArgument(TestCase):
+class TestInitWithNoneArgument(SimpleTestCase):
def test_none_not_allowed(self):
# TaggedItem requires a content_type, initializing with None should
# raise a ValueError.