Skip to content

Commit a8cb0ef

Browse files
committed
Skip more tests
1 parent db8293d commit a8cb0ef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Tests/test_io_stdlib.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@ def load_tests(loader, standard_tests, pattern):
101101
test.test_io.PyMiscIOTest('test_warn_on_dealloc_fd'), # AssertionError: ResourceWarning not triggered
102102
]
103103

104-
if is_mono:
105-
failing_tests += [
106-
test.test_io.CBufferedRandomTest('test_destructor'), # IndexError: index out of range: 0
107-
]
108-
109104
skip_tests = [
110105
test.test_io.CBufferedWriterTest('test_override_destructor'), # StackOverflowException
111106
test.test_io.CBufferedRandomTest('test_override_destructor'), # StackOverflowException
@@ -147,6 +142,7 @@ def load_tests(loader, standard_tests, pattern):
147142
if is_mono:
148143
skip_tests += [
149144
# On Mono, gc.collect() may return before collection is finished making some tests unreliable
145+
test.test_io.CBufferedRandomTest('test_destructor'),
150146
test.test_io.CBufferedWriterTest('test_destructor'),
151147
test.test_io.PyBufferedWriterTest('test_destructor'),
152148
test.test_io.PyBufferedRandomTest('test_destructor'),

0 commit comments

Comments
 (0)