diff options
| author | Mads Jensen <mje@inducks.org> | 2021-04-16 23:19:25 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-07-07 10:51:38 +0200 |
| commit | c51bf80d56cbcdbec1b243b8db086f35b4598947 (patch) | |
| tree | 464350c4e41ae082da3d9a0ad04c36f91a3215e1 /tests/annotations | |
| parent | 7309393c3a7dea7a34a1446e102df7432c4e7357 (diff) | |
Used more specific unittest assertions in tests.
Diffstat (limited to 'tests/annotations')
| -rw-r--r-- | tests/annotations/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |
