Skip to content

Commit

Permalink
Skip more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BCSharp committed Dec 22, 2024
1 parent db8293d commit a8cb0ef
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tests/test_io_stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'),
Expand Down

0 comments on commit a8cb0ef

Please sign in to comment.