diff options
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/tests.py | 3 |
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( |
