ruby-changes:59836
From: Koichi <ko1@a...>
Date: Tue, 28 Jan 2020 15:24:45 +0900 (JST)
Subject: [ruby-changes:59836] 251930cea0 (master): support multi-run for test/ruby/test_iseq.rb
https://git.ruby-lang.org/ruby.git/commit/?id=251930cea0 From 251930cea0e935494b1e8cbbe851e63b978dbc80 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Tue, 28 Jan 2020 13:43:30 +0900 Subject: support multi-run for test/ruby/test_iseq.rb need to remove a Constant. diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb index 7c384c1..02c3967 100644 --- a/test/ruby/test_iseq.rb +++ b/test/ruby/test_iseq.rb @@ -465,6 +465,11 @@ class TestISeq < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_iseq.rb#L465 attr_reader :i end end; + + # cleanup + ::Object.class_eval do + remove_const :P + end end def collect_from_binary_tracepoint_lines(tracepoint_type, filename) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/