File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,9 +117,12 @@ async def stop():
117117 self .loop .run_until_complete (stop ())
118118
119119 def test_aiohttp_connection_lost_when_busy (self ):
120- if self .implementation == 'asyncio' and sys .version_info < (3 , 13 ):
120+ if self .implementation == 'asyncio' and (
121+ sys .version_info < (3 , 12 , 8 )
122+ or sys .version_info [:3 ] == (3 , 13 , 0 )
123+ ):
121124 raise unittest .SkipTest (
122- "asyncio bug #118950, fixed in CPython 3.13+ "
125+ "asyncio bug #118950, fixed in CPython 3.12.8 and 3.13.1 "
123126 )
124127
125128 cert = tb ._cert_fullname (__file__ , 'ssl_cert.pem' )
Original file line number Diff line number Diff line change @@ -3315,9 +3315,12 @@ async def run_main():
33153315 self .loop .run_until_complete (run_main ())
33163316
33173317 def test_connection_lost_when_busy (self ):
3318- if self .implementation == 'asyncio' and sys .version_info < (3 , 13 ):
3318+ if self .implementation == 'asyncio' and (
3319+ sys .version_info < (3 , 12 , 8 )
3320+ or sys .version_info [:3 ] == (3 , 13 , 0 )
3321+ ):
33193322 raise unittest .SkipTest (
3320- "asyncio bug #118950, fixed in CPython 3.13+ "
3323+ "asyncio bug #118950, fixed in CPython 3.12.8 and 3.13.1 "
33213324 )
33223325
33233326 ssl_context = self ._create_server_ssl_context (
You can’t perform that action at this time.
0 commit comments