From be67400b477c1b0e7e81766f41bbceed0de74bdc Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 17 Apr 2015 17:38:20 -0400 Subject: Refs #24652 -- Used SimpleTestCase where appropriate. --- tests/serializers/tests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/serializers') diff --git a/tests/serializers/tests.py b/tests/serializers/tests.py index db2f07d41d..c223fc4036 100644 --- a/tests/serializers/tests.py +++ b/tests/serializers/tests.py @@ -11,7 +11,8 @@ from xml.dom import minidom from django.core import management, serializers from django.db import connection, transaction from django.test import ( - TestCase, TransactionTestCase, override_settings, skipUnlessDBFeature, + SimpleTestCase, TestCase, TransactionTestCase, override_settings, + skipUnlessDBFeature, ) from django.test.utils import Approximate from django.utils import six @@ -34,7 +35,7 @@ except ImportError: "json2": "django.core.serializers.json", } ) -class SerializerRegistrationTests(TestCase): +class SerializerRegistrationTests(SimpleTestCase): def setUp(self): self.old_serializers = serializers._serializers serializers._serializers = {} @@ -664,7 +665,7 @@ class YamlImportModuleMock(object): return self._import_module(module_path) -class NoYamlSerializerTestCase(TestCase): +class NoYamlSerializerTestCase(SimpleTestCase): """Not having pyyaml installed provides a misleading error Refs: #12756 -- cgit v1.3