зеркало из https://github.com/github/ruby.git
Fix a warning
``` .../ruby/test/net/http/test_httpresponse.rb:81: warning: constant RubyVM::MJIT is deprecated ```
This commit is contained in:
Родитель
a55eb9a2af
Коммит
9de68a5221
|
@ -78,7 +78,7 @@ EOS
|
|||
|
||||
def test_read_body_block_mod
|
||||
# http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
|
||||
if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? || defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
|
||||
if defined?(RubyVM::JIT) ? RubyVM::JIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
|
||||
skip 'too unstable with --jit-wait, and extending read_timeout did not help it'
|
||||
end
|
||||
IO.pipe do |r, w|
|
||||
|
|
Загрузка…
Ссылка в новой задаче