From c7ab4f6dcb8473612226704b8a6060020145d159 Mon Sep 17 00:00:00 2001 From: ktsj Date: Sat, 23 Jun 2018 04:56:49 +0000 Subject: [PATCH] test/ruby/test_settracefunc.rb: fix NoMethodError * test/ruby/test_settracefunc.rb (test_trace_point_raising_exception_in_bmethod_call): this test run in separate process, so #target_thread? is not defined and it doesn't need target thread check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_settracefunc.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb index 51e5268735..b6ec2f14eb 100644 --- a/test/ruby/test_settracefunc.rb +++ b/test/ruby/test_settracefunc.rb @@ -1809,7 +1809,6 @@ class TestSetTraceFunc < Test::Unit::TestCase define_method(:m) {} tp = TracePoint.new(:call) do - next unless target_thread? raise '' end