Skip to content

Commit

Permalink
Disable test on Mono
Browse files Browse the repository at this point in the history
  • Loading branch information
slozier committed Nov 9, 2024
1 parent d8f8570 commit 2697aee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Tests/test_io_stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Run selected tests from test_io from StdLib
##

from iptest import is_ironpython, is_netcoreapp, generate_suite, run_test
from iptest import is_ironpython, is_mono, generate_suite, run_test

import test.test_io

Expand Down Expand Up @@ -101,6 +101,11 @@ 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

0 comments on commit 2697aee

Please sign in to comment.