File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2807,10 +2807,6 @@ async def spawn_tasks_in_old_nursery(task_status: _core.TaskStatus[None]) -> Non
2807
2807
sys .implementation .name != "cpython" ,
2808
2808
reason = "Only makes sense with refcounting GC" ,
2809
2809
)
2810
- @pytest .mark .xfail (
2811
- sys .version_info >= (3 , 14 ),
2812
- reason = "https://github.com/python/cpython/issues/125603" ,
2813
- )
2814
2810
async def test_ki_protection_doesnt_leave_cyclic_garbage () -> None :
2815
2811
class MyException (Exception ):
2816
2812
pass
Original file line number Diff line number Diff line change @@ -117,7 +117,12 @@ def create_asyncio_future_in_new_loop() -> asyncio.Future[object]:
117
117
return loop .create_future ()
118
118
119
119
120
- if sys .version_info >= (3 , 11 ):
120
+ if sys .version_info >= (3 , 14 ):
121
+
122
+ def no_other_refs () -> list [object ]:
123
+ return [sys ._getframe ().f_generator ]
124
+
125
+ elif sys .version_info >= (3 , 11 ):
121
126
122
127
def no_other_refs () -> list [object ]:
123
128
return []
You can’t perform that action at this time.
0 commit comments