From 4f336f66523001b009ab038b10848508fd208b3b Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 16 Jun 2016 11:19:18 -0700 Subject: Fixed #26747 -- Used more specific assertions in the Django test suite. --- tests/postgres_tests/test_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/postgres_tests/test_array.py') diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index edbc1d9241..6a305556d4 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -68,7 +68,7 @@ class TestSaveLoad(PostgreSQLTestCase): instance = NullableIntegerArrayModel() instance.save() loaded = NullableIntegerArrayModel.objects.get(pk=instance.pk) - self.assertEqual(loaded.field, None) + self.assertIsNone(loaded.field) self.assertEqual(instance.field, loaded.field) def test_null_handling(self): -- cgit v1.3