summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2023-03-14 15:29:41 +0800
committergit <svn-admin@ruby-lang.org>2023-04-25 23:21:58 +0000
commitbf3ed7e8266e02f96de4a369902dee7d9fdcd4bb (patch)
tree70954b63e79dc4295768f82c4d639e00f00597b9
parentc9b61ec53e2e2fc914d3f95e189b8e9f3bbd851a (diff)
[ruby/pp] Remove patch added for Ruby 2.6/JRuby 9.3
https://github.com/ruby/pp/commit/09dae96129
-rw-r--r--test/test_pp.rb9
1 files changed, 0 insertions, 9 deletions
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