mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed references to django.utils.unittest which is PendingDeprecation
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user