diff options
Diffstat (limited to 'tests/model_fields/test_integerfield.py')
| -rw-r--r-- | tests/model_fields/test_integerfield.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/model_fields/test_integerfield.py b/tests/model_fields/test_integerfield.py index 13b18d967c..af5a9f2e35 100644 --- a/tests/model_fields/test_integerfield.py +++ b/tests/model_fields/test_integerfield.py @@ -1,5 +1,3 @@ -import unittest - from django.core import validators from django.core.exceptions import ValidationError from django.db import IntegrityError, connection, models @@ -192,7 +190,6 @@ class PositiveIntegerFieldTests(IntegerFieldTests): else models.IntegerField ) - @unittest.skipIf(connection.vendor == 'sqlite', "SQLite doesn't have a constraint.") def test_negative_values(self): p = PositiveIntegerModel.objects.create(value=0) p.value = models.F('value') - 1 |
