From bf3ed7e8266e02f96de4a369902dee7d9fdcd4bb Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 14 Mar 2023 15:29:41 +0800 Subject: [ruby/pp] Remove patch added for Ruby 2.6/JRuby 9.3 https://github.com/ruby/pp/commit/09dae96129 --- test/test_pp.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test') diff --git a/test/test_pp.rb b/test/test_pp.rb index a3e661a9b5..bb2299a3fa 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -5,15 +5,6 @@ require 'delegate' require 'test/unit' require 'ruby2_keywords' -# Define bind_call for Ruby 2.6 and earlier, to allow testing on JRuby 9.3 -class UnboundMethod - unless public_method_defined?(:bind_call) - def bind_call(obj, *args, &block) - bind(obj).call(*args, &block) - end - end -end - module PPTestModule class PPTest < Test::Unit::TestCase -- cgit v1.2.1