summaryrefslogtreecommitdiff
path: root/test/rubygems
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/gemutilities.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/rubygems/gemutilities.rb b/test/rubygems/gemutilities.rb
index 965d898abc..bb94750d5e 100644
--- a/test/rubygems/gemutilities.rb
+++ b/test/rubygems/gemutilities.rb
@@ -138,24 +138,9 @@ class RubyGemTestCase < MiniTest::Unit::TestCase
@pre_uninstall_hook_arg = uninstaller
end
- Object.class_eval %q{
- alias tmp_to_yaml to_yaml
- def to_yaml( opts = {} )
- YAML::quick_emit( self, opts ) do |out|
- out.map( taguri, to_yaml_style ) do |map|
- to_yaml_properties.each do |m|
- map.add( m[1..-1], instance_variable_get( m ) )
- end
- end
- end
- end
- }
end
def teardown
- Object.class_eval %q{
- alias to_yaml tmp_to_yaml
- }
Gem::ConfigMap[:BASERUBY] = @orig_BASERUBY
Gem::ConfigMap[:arch] = @orig_arch