mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
Defer skip to avoid errors on ensure
This commit is contained in:
parent
7a75baa6e2
commit
adfc8d6dba
1 changed files with 1 additions and 1 deletions
|
@ -503,11 +503,11 @@ class TestRequire < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_race_exception
|
def test_race_exception
|
||||||
skip 'require has had a race condition since 5931857281ce45c1c277aa86d1588119ab00a955' if RubyVM::MJIT.enabled?
|
|
||||||
bug5754 = '[ruby-core:41618]'
|
bug5754 = '[ruby-core:41618]'
|
||||||
path = nil
|
path = nil
|
||||||
stderr = $stderr
|
stderr = $stderr
|
||||||
verbose = $VERBOSE
|
verbose = $VERBOSE
|
||||||
|
skip 'require has had a race condition since 5931857281ce45c1c277aa86d1588119ab00a955' if RubyVM::MJIT.enabled?
|
||||||
Tempfile.create(%w"bug5754 .rb") {|tmp|
|
Tempfile.create(%w"bug5754 .rb") {|tmp|
|
||||||
path = tmp.path
|
path = tmp.path
|
||||||
tmp.print "#{<<~"begin;"}\n#{<<~"end;"}"
|
tmp.print "#{<<~"begin;"}\n#{<<~"end;"}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue