summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/utils/text.py')
-rw-r--r--tests/regressiontests/utils/text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/utils/text.py b/tests/regressiontests/utils/text.py
index 7cf52ca92c..e7d2d38d3b 100644
--- a/tests/regressiontests/utils/text.py
+++ b/tests/regressiontests/utils/text.py
@@ -1,8 +1,8 @@
-from django.test import TestCase
+import unittest
from django.utils import text
-class TestUtilsText(TestCase):
+class TestUtilsText(unittest.TestCase):
def test_truncate_words(self):
self.assertEqual(u'The quick brown fox jumped over the lazy dog.',
text.truncate_words(u'The quick brown fox jumped over the lazy dog.', 10))