Skip to content

Commit b29c3b8

Browse files
committed
Unskip now-passing test_get_event_loop_thread and test_start_new_thread_at_finalization
1 parent 0844e51 commit b29c3b8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Lib/test/test_asyncio/test_events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2876,7 +2876,6 @@ def test_get_event_loop_after_set_none(self):
28762876
policy.set_event_loop(None)
28772877
self.assertRaises(RuntimeError, policy.get_event_loop)
28782878

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

Lib/test/test_threading.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,6 @@ def import_threading():
11621162
self.assertEqual(out, b'')
11631163
self.assertEqual(err, b'')
11641164

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

0 commit comments

Comments
 (0)