mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #23620 -- Used more specific assertions in the Django test suite.
This commit is contained in:
committed by
Tim Graham
parent
c0c78f1b70
commit
f7969b0920
@@ -210,7 +210,7 @@ class ExpressionsTests(TestCase):
|
||||
# keys, or attributes which involve joins.
|
||||
test_gmbh.point_of_contact = None
|
||||
test_gmbh.save()
|
||||
self.assertTrue(test_gmbh.point_of_contact is None)
|
||||
self.assertIsNone(test_gmbh.point_of_contact)
|
||||
|
||||
def test():
|
||||
test_gmbh.point_of_contact = F("ceo")
|
||||
|
||||
Reference in New Issue
Block a user