mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[5.0.x] Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1 from main
This commit is contained in:
@@ -216,9 +216,11 @@ class ModelInheritanceTests(TestCase):
|
||||
GrandChild().save()
|
||||
|
||||
for i, test in enumerate([a, b]):
|
||||
with self.subTest(i=i), self.assertNumQueries(4), CaptureQueriesContext(
|
||||
connection
|
||||
) as queries:
|
||||
with (
|
||||
self.subTest(i=i),
|
||||
self.assertNumQueries(4),
|
||||
CaptureQueriesContext(connection) as queries,
|
||||
):
|
||||
test()
|
||||
for query in queries:
|
||||
sql = query["sql"]
|
||||
|
||||
Reference in New Issue
Block a user