mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #24714 -- Used more specific assertions than assertEqual in tests.
This commit is contained in:
committed by
Tim Graham
parent
3b133ffb8b
commit
eaeea6f947
@@ -90,7 +90,7 @@ class TestSaveLoad(TestCase):
|
||||
instance = RangesModel(ints=None)
|
||||
instance.save()
|
||||
loaded = RangesModel.objects.get()
|
||||
self.assertEqual(None, loaded.ints)
|
||||
self.assertIsNone(loaded.ints)
|
||||
|
||||
|
||||
@skipUnlessPG92
|
||||
|
||||
Reference in New Issue
Block a user