summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-04 11:05:50 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-04 11:05:50 +0900
commitadfc8d6dbadbccef27d6ec78022650840c7604cc (patch)
tree778f7414aaf3340e2eb0511dea14c1631b7d63b8 /test
parent7a75baa6e294473f02da512c99f7ef1f76b2d83c (diff)
Defer skip to avoid errors on ensure
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb
index 8792cf51f1..4922d4dd26 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -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;"}"