From a8cb0efea733e6d4aded8ffe7c300a7a0660bb83 Mon Sep 17 00:00:00 2001 From: Pavel Koneski Date: Sun, 22 Dec 2024 15:37:16 -0800 Subject: [PATCH] Skip more tests --- Tests/test_io_stdlib.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Tests/test_io_stdlib.py b/Tests/test_io_stdlib.py index a4c3728c1..8a71c5e75 100644 --- a/Tests/test_io_stdlib.py +++ b/Tests/test_io_stdlib.py @@ -101,11 +101,6 @@ def load_tests(loader, standard_tests, pattern): test.test_io.PyMiscIOTest('test_warn_on_dealloc_fd'), # AssertionError: ResourceWarning not triggered ] - if is_mono: - failing_tests += [ - test.test_io.CBufferedRandomTest('test_destructor'), # IndexError: index out of range: 0 - ] - skip_tests = [ test.test_io.CBufferedWriterTest('test_override_destructor'), # StackOverflowException test.test_io.CBufferedRandomTest('test_override_destructor'), # StackOverflowException @@ -147,6 +142,7 @@ def load_tests(loader, standard_tests, pattern): if is_mono: skip_tests += [ # On Mono, gc.collect() may return before collection is finished making some tests unreliable + test.test_io.CBufferedRandomTest('test_destructor'), test.test_io.CBufferedWriterTest('test_destructor'), test.test_io.PyBufferedWriterTest('test_destructor'), test.test_io.PyBufferedRandomTest('test_destructor'),