From a0b8bb6a4089e5f5ebd1974652295a2704a442ca Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 4 Jun 2025 14:13:23 +0900 Subject: [PATCH] Removed workaround for assert_ractor This workaround has been added test-unit-ruby-core. We don't need to care that on our test suite. --- Gemfile | 2 +- test/json/ractor_test.rb | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 98956c7e2..50a4f9877 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ group :development do gem "rake" gem "rake-compiler" gem "test-unit" - gem "test-unit-ruby-core" + gem "test-unit-ruby-core", ">= 1.0.7" gem "all_images", "~> 0" unless RUBY_PLATFORM =~ /java/ if ENV['BENCHMARK'] diff --git a/test/json/ractor_test.rb b/test/json/ractor_test.rb index dda34c64c..ced901bc5 100644 --- a/test/json/ractor_test.rb +++ b/test/json/ractor_test.rb @@ -8,16 +8,6 @@ end class JSONInRactorTest < Test::Unit::TestCase - unless Ractor.method_defined?(:value) - module RactorBackport - refine Ractor do - alias_method :value, :take - end - end - - using RactorBackport - end - def test_generate pid = fork do r = Ractor.new do