Skip to content

Commit

Permalink
Remove deprecated warning test added on 0.35.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Jan 11, 2024
1 parent 9f57bf0 commit 0030a80
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_responses.py
Expand Up @@ -324,11 +324,6 @@ def test_file_response_with_inline_disposition(tmpdir, test_client_factory):
assert response.headers["content-disposition"] == expected_disposition


def test_file_response_with_method_warns(tmpdir, test_client_factory):
with pytest.warns(DeprecationWarning):
FileResponse(path=tmpdir, filename="example.png", method="GET")


def test_set_cookie(test_client_factory, monkeypatch):
# Mock time used as a reference for `Expires` by stdlib `SimpleCookie`.
mocked_now = dt.datetime(2037, 1, 22, 12, 0, 0, tzinfo=dt.timezone.utc)
Expand Down

0 comments on commit 0030a80

Please sign in to comment.