diff options
Diffstat (limited to 'test/ruby/test_settracefunc.rb')
-rw-r--r-- | test/ruby/test_settracefunc.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb index fc1391e60f..9de2137aab 100644 --- a/test/ruby/test_settracefunc.rb +++ b/test/ruby/test_settracefunc.rb @@ -1359,7 +1359,7 @@ class TestSetTraceFunc < Test::Unit::TestCase assert_consistent_call_return '[Bug #9959]' do begin method_test_argument_error_on_bmethod(wrong_key: 2) - rescue => e + rescue # ignore end end @@ -1369,7 +1369,7 @@ class TestSetTraceFunc < Test::Unit::TestCase assert_consistent_call_return '[Bug #9961]' do begin -Numeric.new - rescue => e + rescue # ignore end end @@ -1413,7 +1413,7 @@ class TestSetTraceFunc < Test::Unit::TestCase return if Thread.current != target_th evs << tp.event }.enable{ - a = Bug10724.new + Bug10724.new } assert_equal([:call, :return], evs) |