Mark failing tests

This commit is contained in:
ShaharNaveh committed 2026-03-12 13:24:29 +01:00
1 parent 9a20be7b9e
commit 8530439202
1 file changed
+2
+2
View File
@@ -136,6 +136,7 @@ class FinalizationTest(unittest.TestCase):
self.assertEqual(len(resurrected), 1)
self.assertIsInstance(resurrected[0].gi_code, types.CodeType)
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: <frame object at 0xb4000073269f09e0> is not None
def test_exhausted_generator_frame_cycle(self):
def g():
yield
@@ -304,6 +305,7 @@ class GeneratorTest(unittest.TestCase):
self.assertEqual([1, 2], list(i for i in C()))
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: False is not true
def test_close_clears_frame(self):
# gh-142766: Test that closing a generator clears its frame
class DetectDelete: