mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +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
|
||||
|
||||
def test_race_exception
|
||||
skip 'require has had a race condition since 5931857281ce45c1c277aa86d1588119ab00a955' if RubyVM::MJIT.enabled?
|
||||
bug5754 = '[ruby-core:41618]'
|
||||
path = nil
|
||||
stderr = $stderr
|
||||
verbose = $VERBOSE
|
||||
skip 'require has had a race condition since 5931857281ce45c1c277aa86d1588119ab00a955' if RubyVM::MJIT.enabled?
|
||||
Tempfile.create(%w"bug5754 .rb") {|tmp|
|
||||
path = tmp.path
|
||||
tmp.print "#{<<~"begin;"}\n#{<<~"end;"}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue