aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-05 08:15:54 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-05 08:15:54 +0000
commit38cde1a3f40fef89fd5b55acf527022b84d41b5b (patch)
tree65c84efcf7cfeff396ddecfdad0d21bf9f94c1e6
parent6ecc38c4f89f39c07fa97f8b2d39974b76aa1333 (diff)
downloadruby-38cde1a3f40fef89fd5b55acf527022b84d41b5b.tar.gz
Hide NotImplementedError for windows
https://github.com/ruby/ruby/commit/440dc6b7e0b3b74db221eed81871516e301d4b3e#commitcomment-24074203 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/io/nonblock/test_flush.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb
index e014a5f3db..63e16db5a3 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -67,5 +67,6 @@ class TestIONonblock < Test::Unit::TestCase
end
assert_equal(false, w.nonblock?)
}
+ rescue NotImplementedError
end
end if IO.method_defined?(:nonblock)