mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
test(descr, userlist): unskip passing recursion and deallocation tests (#8871)
This commit is contained in:
1 parent
afae370753
commit
50e17bc6fc
2 files changed
+1
-7
No files matched your search
Vendored
-3
@@ -3694,7 +3694,6 @@ class ClassPropertiesAndMethods(unittest.TestCase):
|
||||
encoding='latin1', errors='replace')
|
||||
self.assertEqual(ba, b'abc\xbd?')
|
||||
|
||||
@unittest.skip("TODO: RUSTPYTHON; rustpython segmentation fault")
|
||||
@support.skip_if_huge_c_stack()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@@ -3977,7 +3976,6 @@ class ClassPropertiesAndMethods(unittest.TestCase):
|
||||
# it as a leak.
|
||||
del C.__del__
|
||||
|
||||
@unittest.skip("TODO: RUSTPYTHON; rustpython segmentation fault")
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_slots_trash(self):
|
||||
@@ -4559,7 +4557,6 @@ class ClassPropertiesAndMethods(unittest.TestCase):
|
||||
o.whatever = Provoker(o)
|
||||
del o
|
||||
|
||||
@unittest.skip("TODO: RUSTPYTHON; rustpython segmentation fault")
|
||||
@support.skip_wasi_stack_overflow()
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.requires_resource('cpu')
|
||||
|
||||
Vendored
+1
-4
@@ -167,10 +167,7 @@ class UserListTest(list_tests.CommonTest):
|
||||
self.assertEqual(u, v)
|
||||
self.assertEqual(type(u), type(v))
|
||||
|
||||
# Decorate existing test with recursion limit, because
|
||||
# the test is for C structure, but `UserList` is a Python structure.
|
||||
# test_repr_deep = list_tests.CommonTest.test_repr_deep
|
||||
test_repr_deep = unittest.skip(list_tests.CommonTest.test_repr_deep) # TODO: RUSTPYTHON; Segfault
|
||||
test_repr_deep = list_tests.CommonTest.test_repr_deep
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user