ruby-changes:51518
From: ktsj <ko1@a...>
Date: Sat, 23 Jun 2018 13:56:55 +0900 (JST)
Subject: [ruby-changes:51518] ktsj:r63728 (trunk): test/ruby/test_settracefunc.rb: fix NoMethodError
ktsj 2018-06-23 13:56:49 +0900 (Sat, 23 Jun 2018) New Revision: 63728 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63728 Log: 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. Modified files: trunk/test/ruby/test_settracefunc.rb Index: test/ruby/test_settracefunc.rb =================================================================== --- test/ruby/test_settracefunc.rb (revision 63727) +++ test/ruby/test_settracefunc.rb (revision 63728) @@ -1809,7 +1809,6 @@ class TestSetTraceFunc < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/ruby/test_settracefunc.rb#L1809 define_method(:m) {} tp = TracePoint.new(:call) do - next unless target_thread? raise '' end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/