From eaeea6f94701547ce1b50dbcf5cf71460e9e4c91 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Mon, 27 Apr 2015 15:59:16 +0100 Subject: Fixed #24714 -- Used more specific assertions than assertEqual in tests. --- tests/postgres_tests/test_ranges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/postgres_tests') diff --git a/tests/postgres_tests/test_ranges.py b/tests/postgres_tests/test_ranges.py index 35b79f9dc4..cab7263af2 100644 --- a/tests/postgres_tests/test_ranges.py +++ b/tests/postgres_tests/test_ranges.py @@ -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 -- cgit v1.3