File tree Expand file tree Collapse file tree 5 files changed +4
-18
lines changed Expand file tree Collapse file tree 5 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ multidict==6.1.0
108
108
# -r requirements/multidict.in
109
109
# -r requirements/runtime-deps.in
110
110
# yarl
111
- mypy==1.14.1 ; implementation_name == "cpython"
111
+ mypy==1.15.0 ; implementation_name == "cpython"
112
112
# via
113
113
# -r requirements/lint.in
114
114
# -r requirements/test.in
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ multidict==6.1.0
105
105
# via
106
106
# -r requirements/runtime-deps.in
107
107
# yarl
108
- mypy==1.14.1 ; implementation_name == "cpython"
108
+ mypy==1.15.0 ; implementation_name == "cpython"
109
109
# via
110
110
# -r requirements/lint.in
111
111
# -r requirements/test.in
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ markdown-it-py==3.0.0
39
39
# via rich
40
40
mdurl==0.1.2
41
41
# via markdown-it-py
42
- mypy==1.14.1 ; implementation_name == "cpython"
42
+ mypy==1.15.0 ; implementation_name == "cpython"
43
43
# via -r requirements/lint.in
44
44
mypy-extensions==1.0.0
45
45
# via mypy
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ multidict==6.1.0
55
55
# via
56
56
# -r requirements/runtime-deps.in
57
57
# yarl
58
- mypy==1.14.1 ; implementation_name == "cpython"
58
+ mypy==1.15.0 ; implementation_name == "cpython"
59
59
# via -r requirements/test.in
60
60
mypy-extensions==1.0.0
61
61
# via mypy
Original file line number Diff line number Diff line change @@ -3477,20 +3477,6 @@ async def handler(request: web.Request) -> web.Response:
3477
3477
assert resp .status == 200
3478
3478
3479
3479
3480
- async def test_close_context_manager (aiohttp_client : AiohttpClient ) -> None :
3481
- # a test for backward compatibility with yield from syntax
3482
- async def handler (request : web .Request ) -> NoReturn :
3483
- assert False
3484
-
3485
- app = web .Application ()
3486
- app .router .add_get ("/" , handler )
3487
-
3488
- client = await aiohttp_client (app )
3489
- ctx = client .get ("/" )
3490
- ctx .close ()
3491
- assert not ctx ._coro .cr_running
3492
-
3493
-
3494
3480
async def test_session_auth (aiohttp_client : AiohttpClient ) -> None :
3495
3481
async def handler (request : web .Request ) -> web .Response :
3496
3482
return web .json_response ({"headers" : dict (request .headers )})
You can’t perform that action at this time.
0 commit comments