From 2791fbf59d85a20adac22ed73c88a97fc0350426 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 9 Apr 2014 22:20:22 +0200 Subject: Used more specific test assertions. --- tests/model_fields/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/model_fields') 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): """ -- cgit v1.3