Skip to content

Commit

Permalink
Bump mypy from 1.5.1 to 1.7.1 (#2357)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
  • Loading branch information
dependabot[bot] and Kludex authored Dec 13, 2023
1 parent d29d993 commit 1ed1737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Testing
coverage==7.3.2
importlib-metadata==6.9.0
mypy==1.5.1
mypy==1.7.1
ruff==0.1.6
typing_extensions==4.8.0
types-contextvars==2.4.7.3
Expand Down
5 changes: 1 addition & 4 deletions tests/test_responses.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime as dt
import os
import time
import typing
from http.cookies import SimpleCookie

import anyio
Expand Down Expand Up @@ -344,9 +343,7 @@ async def app(scope, receive, send):

client = test_client_factory(app)
response = client.get("/")
cookie: "SimpleCookie[typing.Any]" = SimpleCookie(
response.headers.get("set-cookie")
)
cookie = SimpleCookie(response.headers.get("set-cookie"))
assert cookie["mycookie"]["expires"] == "Thu, 22 Jan 2037 12:00:10 GMT"


Expand Down

0 comments on commit 1ed1737

Please sign in to comment.