1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Removed references to django.utils.unittest which is PendingDeprecation

This commit is contained in:
Tim Graham
2013-09-03 09:55:21 -04:00
parent ec784c486b
commit 2fd03b39ab
2 changed files with 6 additions and 6 deletions

View File

@@ -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(