summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2015-04-27 15:59:16 +0100
committerTim Graham <timograham@gmail.com>2015-04-28 09:31:35 -0400
commitc37eb3c870db46f64578e9974f576dd2d8c40f8a (patch)
tree505c0d36d0ebe157aec2c6c88b381d1fd1e16982 /tests/postgres_tests
parent5105c1628d0c43a39669609d0746630c444641e0 (diff)
[1.8.x] Fixed #24714 -- Used more specific assertions than assertEqual in tests.
Backport of eaeea6f94701547ce1b50dbcf5cf71460e9e4c91 from master
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/test_ranges.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_ranges.py b/tests/postgres_tests/test_ranges.py
index d11f09d1a3..32994c6952 100644
--- a/tests/postgres_tests/test_ranges.py
+++ b/tests/postgres_tests/test_ranges.py
@@ -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