Skip to content
Prev Previous commit
Next Next commit
Unskip now-passing test_get_event_loop_thread and test_start_new_thre…
…ad_at_finalization
  • Loading branch information
youknowone committed Mar 8, 2026
commit 1b97419f1907305dd5adf90c199f04718815f5eb
1 change: 0 additions & 1 deletion Lib/test/test_asyncio/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -2876,7 +2876,6 @@ def test_get_event_loop_after_set_none(self):
policy.set_event_loop(None)
self.assertRaises(RuntimeError, policy.get_event_loop)

@unittest.expectedFailure # TODO: RUSTPYTHON; - mock.patch doesn't work correctly with threading.current_thread
@mock.patch('asyncio.events.threading.current_thread')
def test_get_event_loop_thread(self, m_current_thread):

Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,8 +1162,6 @@ def import_threading():
self.assertEqual(out, b'')
self.assertEqual(err, b'')

# TODO: RUSTPYTHON - __del__ not called during interpreter finalization (no cyclic GC)
@unittest.expectedFailure
def test_start_new_thread_at_finalization(self):
code = """if 1:
import _thread
Expand Down