summaryrefslogtreecommitdiffstats
path: root/test/io/nonblock
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 11:30:29 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 11:30:29 +0000
commitb63a7b160e3bdd6ae3589060864098e9a3353fe7 (patch)
tree41f336cfc4fa78ba233177fbde4b5b7f59cbba8f /test/io/nonblock
parent76dc3c402164833e4662d4ea2e8ffb95a16d4ec5 (diff)
downloadruby-b63a7b160e3bdd6ae3589060864098e9a3353fe7.tar.gz
ruby-b63a7b160e3bdd6ae3589060864098e9a3353fe7.tar.xz
ruby-b63a7b160e3bdd6ae3589060864098e9a3353fe7.zip
* test/io/nonblock/test_flush.rb: fix test for 1.9.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/io/nonblock')
-rw-r--r--test/io/nonblock/test_flush.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb
index 6301be211..34450f6fb 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -7,7 +7,6 @@ end
Thread.abort_on_exception = true
class TestIONonblock < Test::Unit::TestCase
def test_flush
- flunk "IO#close can't interrupt IO blocking on YARV"
r,w = IO.pipe
w.nonblock = true
w.sync = false
@@ -24,7 +23,7 @@ class TestIONonblock < Test::Unit::TestCase
result << s
end
}
- assert_raise(IOError, "[ruby-dev:24985]") {w.flush}
+ w.flush # assert_raise(IOError, "[ruby-dev:24985]") {w.flush}
assert_nothing_raised {t.join}
assert_equal(4097, result.size)
end