mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Used more specific test assertions.
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user