summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_iseq.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb
index 7c384c19bd..02c3967022 100644
--- a/test/ruby/test_iseq.rb
+++ b/test/ruby/test_iseq.rb
@@ -465,6 +465,11 @@ class TestISeq < Test::Unit::TestCase
attr_reader :i
end
end;
+
+ # cleanup
+ ::Object.class_eval do
+ remove_const :P
+ end
end
def collect_from_binary_tracepoint_lines(tracepoint_type, filename)