summaryrefslogtreecommitdiff
path: root/tests/max_lengths/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/max_lengths/tests.py')
-rw-r--r--tests/max_lengths/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/max_lengths/tests.py b/tests/max_lengths/tests.py
index 9dfcabff45..0f525864d5 100644
--- a/tests/max_lengths/tests.py
+++ b/tests/max_lengths/tests.py
@@ -1,6 +1,6 @@
from __future__ import absolute_import
-from django.utils import unittest
+import unittest
from .models import PersonWithDefaultMaxLengths, PersonWithCustomMaxLengths
@@ -36,4 +36,4 @@ class MaxLengthORMTests(unittest.TestCase):
new_args = args.copy()
new_args[field] = "X" * 250 # a value longer than any of the default fields could hold.
p = PersonWithCustomMaxLengths.objects.create(**new_args)
- self.assertEqual(getattr(p, field), ("X" * 250)) \ No newline at end of file
+ self.assertEqual(getattr(p, field), ("X" * 250))