summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-03 09:55:21 -0400
committerTim Graham <timograham@gmail.com>2013-09-03 09:55:21 -0400
commit2fd03b39ab008a8607345dc5b769d5b02729bf23 (patch)
treee58e33ffe84919e7647e6da2f3d324f3ff9e577f /tests/model_fields
parentec784c486bd8368fed25b1ad7a4328baaa2bcc74 (diff)
Removed references to django.utils.unittest which is PendingDeprecation
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py
index eee3f31532..e4cc880bd6 100644
--- a/tests/model_fields/tests.py
+++ b/tests/model_fields/tests.py
@@ -18,7 +18,6 @@ from django.db.models.fields import (
from django.db.models.fields.files import FileField, ImageField
from django.utils import six
from django.utils.functional import lazy
-from django.utils.unittest import skipIf
from .models import (
Foo, Bar, Whiz, BigD, BigS, BigInt, Post, NullBooleanModel,
@@ -517,7 +516,7 @@ class PromiseTest(test.TestCase):
AutoField(primary_key=True).get_prep_value(lazy_func()),
int)
- @skipIf(six.PY3, "Python 3 has no `long` type.")
+ @unittest.skipIf(six.PY3, "Python 3 has no `long` type.")
def test_BigIntegerField(self):
lazy_func = lazy(lambda: long(9999999999999999999), long)
self.assertIsInstance(