summaryrefslogtreecommitdiff
path: root/tests/model_regress
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-11-26 14:05:02 -0500
committerTim Graham <timograham@gmail.com>2018-11-27 08:58:44 -0500
commit193c109327c5216cab1d4eed6bfdff24629b09a3 (patch)
tree3428f61d610f51349df5ab6eb26a4876b54878c5 /tests/model_regress
parentf091ea35150d95fc6732bbf0c27b971dd445509a (diff)
downloaddjango-193c109327c5216cab1d4eed6bfdff24629b09a3.tar.gz
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/model_regress')
-rw-r--r--tests/model_regress/test_pickle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_regress/test_pickle.py b/tests/model_regress/test_pickle.py
index 5fbe0a3cbb..f8676404c0 100644
--- a/tests/model_regress/test_pickle.py
+++ b/tests/model_regress/test_pickle.py
@@ -1,11 +1,11 @@
import pickle
from django.db import DJANGO_VERSION_PICKLE_KEY, models
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.utils.version import get_version
-class ModelPickleTestCase(TestCase):
+class ModelPickleTests(SimpleTestCase):
def test_missing_django_version_unpickling(self):
"""
#21430 -- Verifies a warning is raised for models that are