diff options
Diffstat (limited to 'test/io')
-rw-r--r-- | test/io/nonblock/test_flush.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb index b41afe1101..2217dbcec9 100644 --- a/test/io/nonblock/test_flush.rb +++ b/test/io/nonblock/test_flush.rb @@ -24,7 +24,11 @@ class TestIONonblock < Test::Unit::TestCase result << s end } - w.flush # assert_raise(IOError, "[ruby-dev:24985]") {w.flush} + begin + w.flush # assert_raise(IOError, "[ruby-dev:24985]") {w.flush} + rescue Errno::EBADF, IOError + # ignore [ruby-dev:35638] + end assert_nothing_raised {t.join} } assert_equal(4097, result.size) |