summaryrefslogtreecommitdiff
path: root/bootstraptest/test_io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_io.rb')
-rw-r--r--bootstraptest/test_io.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb
index 2294654211..24a5b3c680 100644
--- a/bootstraptest/test_io.rb
+++ b/bootstraptest/test_io.rb
@@ -14,6 +14,7 @@ assert_finish 10, %q{
require "timeout"
timeout(3) do
r, w = IO.pipe
+ w.nonblock?
w.nonblock = true
w.write_nonblock("a" * 100000)
w.nonblock = false
@@ -26,7 +27,7 @@ assert_finish 10, %q{
t1.join
t2.join
end
- rescue LoadError, TimeoutError
+ rescue LoadError, TimeoutError, NotImplementedError
end
}, '[ruby-dev:32566]'