mirror of
https://github.com/django/django.git
synced 2025-08-10 13:58:43 +00:00
[1.8.x] Fixed #24714 -- Used more specific assertions than assertEqual in tests.
Backport of eaeea6f947
from master
This commit is contained in:
parent
5105c1628d
commit
c37eb3c870
17 changed files with 83 additions and 82 deletions
|
@ -83,7 +83,7 @@ class TestSaveLoad(TestCase):
|
|||
instance = RangesModel(ints=None)
|
||||
instance.save()
|
||||
loaded = RangesModel.objects.get()
|
||||
self.assertEqual(None, loaded.ints)
|
||||
self.assertIsNone(loaded.ints)
|
||||
|
||||
|
||||
@skipUnlessPG92
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue