mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Removed references to django.utils.unittest which is PendingDeprecation
This commit is contained in:
parent
ec784c486b
commit
2fd03b39ab
2 changed files with 6 additions and 6 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue