1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/io-wait] Disable ractor test which is meaningless on earlier versions

https://github.com/ruby/io-wait/commit/e8e1e99d4c
This commit is contained in:
Nobuyoshi Nakada 2021-10-22 15:51:16 +09:00 committed by Hiroshi SHIBATA
parent db71a04c2e
commit dc5512243b

View file

@ -4,10 +4,6 @@ require 'rbconfig'
require 'io/wait' require 'io/wait'
class TestIOWaitInRactor < Test::Unit::TestCase class TestIOWaitInRactor < Test::Unit::TestCase
def setup
omit unless defined? Ractor
end
def test_ractor def test_ractor
ext = "/io/wait.#{RbConfig::CONFIG['DLEXT']}" ext = "/io/wait.#{RbConfig::CONFIG['DLEXT']}"
path = $".find {|path| path.end_with?(ext)} path = $".find {|path| path.end_with?(ext)}
@ -19,4 +15,4 @@ class TestIOWaitInRactor < Test::Unit::TestCase
puts r.take puts r.take
end; end;
end end
end end if defined? Ractor