diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-22 15:51:16 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-11-16 20:25:44 +0900 |
commit | dc5512243bb8333cd031d0bf50c4fb245d6ad93f (patch) | |
tree | 939d361ec7c2591e6a31d878e0eb15fdf98eb293 /test | |
parent | db71a04c2ec73f09fee01c85c6343175657f2078 (diff) | |
download | ruby-dc5512243bb8333cd031d0bf50c4fb245d6ad93f.tar.gz |
[ruby/io-wait] Disable ractor test which is meaningless on earlier versions
https://github.com/ruby/io-wait/commit/e8e1e99d4c
Diffstat (limited to 'test')
-rw-r--r-- | test/io/wait/test_ractor.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/io/wait/test_ractor.rb b/test/io/wait/test_ractor.rb index 3d286af77f..3742680cf7 100644 --- a/test/io/wait/test_ractor.rb +++ b/test/io/wait/test_ractor.rb @@ -4,10 +4,6 @@ require 'rbconfig' require 'io/wait' class TestIOWaitInRactor < Test::Unit::TestCase - def setup - omit unless defined? Ractor - end - def test_ractor ext = "/io/wait.#{RbConfig::CONFIG['DLEXT']}" path = $".find {|path| path.end_with?(ext)} @@ -19,4 +15,4 @@ class TestIOWaitInRactor < Test::Unit::TestCase puts r.take end; end -end +end if defined? Ractor |