diff --git a/tests/unit/test_kwargs/test_multipart_data.py b/tests/unit/test_kwargs/test_multipart_data.py index bbf7b8dff3..9b2d295f6a 100644 --- a/tests/unit/test_kwargs/test_multipart_data.py +++ b/tests/unit/test_kwargs/test_multipart_data.py @@ -296,7 +296,7 @@ def test_multipart_request_without_charset_for_filename() -> None: } -@pytest.mark.xfail +@pytest.mark.xfail(reason="filename* is deprecated and should not be used according to RFC-7578") def test_multipart_request_with_asterisks_filename() -> None: with create_test_client(form_handler) as client: response = client.post(