summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-06-04 13:53:00 +0900
committergit <svn-admin@ruby-lang.org>2025-06-04 05:03:18 +0000
commit50400f3bb27070c028d9c4b3bde8efe44eba6efd (patch)
tree2b66a98dba49df1a0923c1b6a30bbbc1a509864c
parenta84f734343e4f564b6645f56b0c0c91c07235172 (diff)
[ruby/etc] Removed workaround for assert_ractor
https://github.com/ruby/etc/commit/fd61177b71
-rw-r--r--test/etc/test_etc.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 51977e8f3d..dc0d5c0fd8 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -178,10 +178,6 @@ class TestEtc < Test::Unit::TestCase
omit "This test is flaky and intermittently failing now on ModGC workflow" if ENV['GITHUB_WORKFLOW'] == 'ModGC'
assert_ractor(<<~RUBY, require: 'etc', timeout: 60)
- class Ractor
- alias join take
- end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
-
10.times.map do
Ractor.new do
100.times do
@@ -208,10 +204,6 @@ class TestEtc < Test::Unit::TestCase
def test_ractor_unsafe
assert_ractor(<<~RUBY, require: 'etc')
- class Ractor
- alias value take
- end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
-
r = Ractor.new do
begin
Etc.passwd