summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_autofield.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-03 20:24:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch)
treef0506b668a013d0063e5fba3dbf4863b466713ba /tests/model_fields/test_autofield.py
parentf68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff)
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/model_fields/test_autofield.py')
-rw-r--r--tests/model_fields/test_autofield.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/model_fields/test_autofield.py b/tests/model_fields/test_autofield.py
index 0ae981c3d9..d2fe5d6125 100644
--- a/tests/model_fields/test_autofield.py
+++ b/tests/model_fields/test_autofield.py
@@ -3,7 +3,9 @@ from django.test import SimpleTestCase
from .models import AutoModel, BigAutoModel, SmallAutoModel
from .test_integerfield import (
- BigIntegerFieldTests, IntegerFieldTests, SmallIntegerFieldTests,
+ BigIntegerFieldTests,
+ IntegerFieldTests,
+ SmallIntegerFieldTests,
)
@@ -23,7 +25,6 @@ class SmallAutoFieldTests(SmallIntegerFieldTests):
class AutoFieldInheritanceTests(SimpleTestCase):
-
def test_isinstance_of_autofield(self):
for field in (models.BigAutoField, models.SmallAutoField):
with self.subTest(field.__name__):