mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Mark failing tests
This commit is contained in:
1 parent
9a20be7b9e
commit
8530439202
1 file changed
+2
Vendored
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user