Visitar URL original
unmark test_asyncio · RustPython/RustPython@4ff9fb8 · GitHub
Skip to content

Commit 4ff9fb8

Browse files
committed
unmark test_asyncio
1 parent 2d5be2f commit 4ff9fb8

5 files changed

Lines changed: 0 additions & 13 deletions

File tree

‎Lib/test/_test_multiprocessing.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4057,8 +4057,6 @@ def test_heap(self):
40574057
self.assertEqual(len(heap._allocated_blocks), 0, heap._allocated_blocks)
40584058
self.assertEqual(len(heap._len_to_seq), 0)
40594059

4060-
# TODO: RUSTPYTHON - gc.enable() not implemented
4061-
@unittest.expectedFailure
40624060
def test_free_from_gc(self):
40634061
# Check that freeing of blocks by the garbage collector doesn't deadlock
40644062
# (issue #12352).

‎Lib/test/test_asyncio/test_futures.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,6 @@ def __del__(self):
678678
fut = self._new_future(loop=self.loop)
679679
fut.set_result(Evil())
680680

681-
# TODO: RUSTPYTHON - gc.get_referrers not implemented
682-
@unittest.expectedFailure
683681
def test_future_cancelled_result_refcycles(self):
684682
f = self._new_future(loop=self.loop)
685683
f.cancel()
@@ -691,8 +689,6 @@ def test_future_cancelled_result_refcycles(self):
691689
self.assertIsNotNone(exc)
692690
self.assertListEqual(gc.get_referrers(exc), [])
693691

694-
# TODO: RUSTPYTHON - gc.get_referrers not implemented
695-
@unittest.expectedFailure
696692
def test_future_cancelled_exception_refcycles(self):
697693
f = self._new_future(loop=self.loop)
698694
f.cancel()
@@ -720,8 +716,6 @@ def test_future_del_segfault(self):
720716
with self.assertRaises(AttributeError):
721717
del fut._log_traceback
722718

723-
# TODO: RUSTPYTHON - gc.get_referents not implemented
724-
@unittest.expectedFailure
725719
def test_future_iter_get_referents_segfault(self):
726720
# See https://github.com/python/cpython/issues/122695
727721
import _asyncio

‎Lib/test/test_subprocess.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,6 @@ def raise_it():
24452445
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
24462446
stderr=subprocess.PIPE, preexec_fn=raise_it)
24472447

2448-
@unittest.expectedFailure # TODO: RUSTPYTHON
24492448
def test_preexec_gc_module_failure(self):
24502449
# This tests the code that disables garbage collection if the child
24512450
# process will execute any Python.

‎Lib/test/test_weakset.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,6 @@ def test_len_cycles(self):
425425
self.assertIn(n1, (0, 1))
426426
self.assertEqual(n2, 0)
427427

428-
# TODO: RUSTPYTHON
429-
@unittest.expectedFailure
430428
def test_len_race(self):
431429
# Extended sanity checks for len() in the face of cyclic collection
432430
self.addCleanup(gc.set_threshold, *gc.get_threshold())

‎Lib/test/test_zoneinfo/test_zoneinfo.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,8 +1937,6 @@ def test_cache_location(self):
19371937
self.assertFalse(hasattr(c_zoneinfo.ZoneInfo, "_weak_cache"))
19381938
self.assertTrue(hasattr(py_zoneinfo.ZoneInfo, "_weak_cache"))
19391939

1940-
# TODO: RUSTPYTHON
1941-
@unittest.expectedFailure
19421940
def test_gc_tracked(self):
19431941
import gc
19441942

0 commit comments

Comments
 (0)