summaryrefslogtreecommitdiff
path: root/test/-ext-/gvl/test_ubf_async_safe.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-08 19:07:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-09 22:38:06 +0900
commit590dc06e3840cc7b00d80ccaac9fbf42573428f8 (patch)
treee5f6aa316246401b8d89e7419ddf0976238c04b5 /test/-ext-/gvl/test_ubf_async_safe.rb
parent161a20df28dd09ff35a32a7e2b7ce6cab7079707 (diff)
Get rid of defining methods for tests in core classes
Not to interfere in other tests.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4043
Diffstat (limited to 'test/-ext-/gvl/test_ubf_async_safe.rb')
-rw-r--r--test/-ext-/gvl/test_ubf_async_safe.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/gvl/test_ubf_async_safe.rb b/test/-ext-/gvl/test_ubf_async_safe.rb
index 85c4a7d38e..fdaa4d418b 100644
--- a/test/-ext-/gvl/test_ubf_async_safe.rb
+++ b/test/-ext-/gvl/test_ubf_async_safe.rb
@@ -7,7 +7,7 @@ class TestUbfAsyncSafe < Test::Unit::TestCase
require '-test-/gvl/call_without_gvl'
r.close
trap(:INT) { exit!(0) }
- Thread.current.__ubf_async_safe__(w.fileno)
+ Bug::Thread.ubf_async_safe(w.fileno)
exit!(1)
end
w.close