Prepare for removing RubyVM::JIT (#5262)

This commit is contained in:
Takashi Kokubun 2021-12-13 23:07:46 -08:00 committed by GitHub
parent a2839d7178
commit 1a63468831
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-12-14 16:08:06 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
32 changed files with 64 additions and 67 deletions

View file

@ -247,7 +247,7 @@ line,5,jkl
def assert_parse_errors_out(data, **options)
assert_raise(CSV::MalformedCSVError) do
timeout = 0.2
if defined?(RubyVM::JIT.enabled?) and RubyVM::JIT.enabled?
if defined?(RubyVM::MJIT.enabled?) and RubyVM::MJIT.enabled?
timeout = 5 # for --jit-wait
end
Timeout.timeout(timeout) do