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:
parent
db71a04c2e
commit
dc5512243b
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue