From c51bf80d56cbcdbec1b243b8db086f35b4598947 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Fri, 16 Apr 2021 23:19:25 +0200 Subject: Used more specific unittest assertions in tests. --- tests/annotations/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/annotations') diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index 2aa1765125..c0fe308a07 100644 --- a/tests/annotations/tests.py +++ b/tests/annotations/tests.py @@ -241,7 +241,7 @@ class NonAggregateAnnotationTestCase(TestCase): ), rating_count=Count('rating'), ).first() - self.assertEqual(book.isnull_pubdate, False) + self.assertIs(book.isnull_pubdate, False) self.assertEqual(book.rating_count, 1) @skipUnlessDBFeature('supports_boolean_expr_in_select_clause') -- cgit v1.3