Skip to content

Commit a7996b8

Browse files
committed
test(tests): 🚨 Fix ruff issue
1 parent 4a28e1d commit a7996b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/test_partial.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def test_no_change_to_optional_fields():
213213

214214

215215
def test_as_partial_works_as_expected():
216-
with pytest.warns(DeprecationWarning):
216+
with pytest.warns(DeprecationWarning, match=".*is deprecated.*"):
217217
assert Something.model_as_partial() is Something.as_partial()
218218

219219

0 commit comments

Comments
 (0)