summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils/datastructures.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-09-28 08:29:30 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-09-28 08:29:30 +0000
commitefa27fc86cff473c5ca5c0d48bcd264c99d9fd47 (patch)
tree0a4196c3546e9ba084e82073bf0dbade4bdc3bbc /tests/regressiontests/utils/datastructures.py
parent5277425ae454da282edfd4322b3a282458c410e2 (diff)
[1.2.X] A few test optimizations; using native unittest where no Django-specific TestCase features are required.
Backport of r13935 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/datastructures.py')
-rw-r--r--tests/regressiontests/utils/datastructures.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/regressiontests/utils/datastructures.py b/tests/regressiontests/utils/datastructures.py
index a353a32404..e684694d7c 100644
--- a/tests/regressiontests/utils/datastructures.py
+++ b/tests/regressiontests/utils/datastructures.py
@@ -1,7 +1,8 @@
-from django.test import TestCase
+import unittest
+
from django.utils.datastructures import SortedDict
-class DatastructuresTests(TestCase):
+class DatastructuresTests(unittest.TestCase):
def setUp(self):
self.d1 = SortedDict()
self.d1[7] = 'seven'