1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Applied Black's 2025 stable style.

https://github.com/psf/black/releases/tag/25.1.0
This commit is contained in:
Mariusz Felisiak
2025-03-01 19:41:37 +01:00
committed by GitHub
parent ea1e3703be
commit ff3aaf036f
45 changed files with 210 additions and 182 deletions

View File

@@ -309,7 +309,7 @@ class ExclusionConstraintTests(PostgreSQLTestCase):
def test_invalid_expressions(self):
msg = "The expressions must be a list of 2-tuples."
for expressions in (["foo"], [("foo")], [("foo_1", "foo_2", "foo_3")]):
for expressions in (["foo"], ["foo"], [("foo_1", "foo_2", "foo_3")]):
with self.subTest(expressions), self.assertRaisesMessage(ValueError, msg):
ExclusionConstraint(
index_type="GIST",