summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py
index 754ad20e5d..e8c798adc5 100644
--- a/tests/model_fields/tests.py
+++ b/tests/model_fields/tests.py
@@ -298,7 +298,7 @@ class BooleanFieldTests(unittest.TestCase):
# conversions are applied with an offset
b5 = BooleanModel.objects.all().extra(
select={'string_col': 'string'})[0]
- self.assertFalse(isinstance(b5.pk, bool))
+ self.assertNotIsInstance(b5.pk, bool)
def test_select_related(self):
"""