1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed unnecessary commas in tests.

This commit is contained in:
Mariusz Felisiak
2022-12-21 11:41:29 +01:00
committed by GitHub
parent 2d676ee119
commit 3b24a3fa33
6 changed files with 8 additions and 10 deletions

View File

@@ -1218,7 +1218,7 @@ class LookupTests(TestCase):
def test_exact_exists(self):
qs = Article.objects.filter(pk=OuterRef("pk"))
seasons = Season.objects.annotate(pk_exists=Exists(qs),).filter(
seasons = Season.objects.annotate(pk_exists=Exists(qs)).filter(
pk_exists=Exists(qs),
)
self.assertCountEqual(seasons, Season.objects.all())