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