diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-01 19:41:37 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-01 19:47:17 +0100 |
| commit | 53bb1d5a240a39d35abc11c6477ac5465c5fac2c (patch) | |
| tree | ca10c5869c7bcbcb219eadb0c93ba297d9bbd4b4 /tests/postgres_tests | |
| parent | b8ceda4a518de960c2cf2b4b1ff70cbd10c0ecda (diff) | |
[5.2.x] Applied Black's 2025 stable style.
https://github.com/psf/black/releases/tag/25.1.0
Backport of ff3aaf036f0cb66cd8f404cd51c603e68aaa7676 from main
Diffstat (limited to 'tests/postgres_tests')
| -rw-r--r-- | tests/postgres_tests/test_constraints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_constraints.py b/tests/postgres_tests/test_constraints.py index ab5bf2bab1..2cc3de5f4d 100644 --- a/tests/postgres_tests/test_constraints.py +++ b/tests/postgres_tests/test_constraints.py @@ -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", |
