summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-04-09 22:20:22 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-04-09 22:20:22 +0200
commit2791fbf59d85a20adac22ed73c88a97fc0350426 (patch)
treefd6d9336b50170eb830faf42251f53fea39222de /tests/model_fields
parent11e7254c3dd788e0aefffcabac08f3542c9e1123 (diff)
Used more specific test assertions.
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):
"""