diff --git a/tests/publishing/test_uploader.py b/tests/publishing/test_uploader.py index f728e6027ab..fa970ecee91 100644 --- a/tests/publishing/test_uploader.py +++ b/tests/publishing/test_uploader.py @@ -93,7 +93,9 @@ def test_uploader_registers_for_appropriate_400_errors( assert register.call_count == 1 -def test_uploader_properly_handles_file_not_existing(mocker, http, uploader): +def test_uploader_properly_handles_file_not_existing( + mocker: MockerFixture, http: type[httpretty.httpretty], uploader: Uploader +): mocker.patch("pathlib.Path.is_file", return_value=False) with pytest.raises(UploadError) as e: