Skip to content

Commit ca9880b

Browse files
felixxmsarahboyce
authored andcommitted
[5.0.x] Refs #35625 -- Corrected CheckConstraint argument name in migrations.test_operations.
1 parent e186012 commit ca9880b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/migrations/test_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4117,7 +4117,7 @@ def test_create_model_constraint_percent_escaping(self):
41174117
]
41184118
for check, valid, invalid in checks:
41194119
with self.subTest(condition=check, valid=valid, invalid=invalid):
4120-
constraint = models.CheckConstraint(condition=check, name="constraint")
4120+
constraint = models.CheckConstraint(check=check, name="constraint")
41214121
operation = migrations.CreateModel(
41224122
"Author",
41234123
fields=[

0 commit comments

Comments
 (0)