diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 03:30:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 03:30:55 +0000 |
commit | 3f50943b0378e32aef13a93f14dfacebdf5b0a1c (patch) | |
tree | 26876ae5cd0cb56078158971da1179ce8fbbae61 /test | |
parent | afb02bbe92e55f877d50ed8705c95a41d541458d (diff) | |
download | ruby-3f50943b0378e32aef13a93f14dfacebdf5b0a1c.tar.gz |
test_gem_specification.rb: suppress warnings
* test/rubygems/test_gem_specification.rb (with_syck): we all know
that syck has been removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 2e7fe689bb..fa2f0cef75 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -1,3 +1,4 @@ +# -*- coding: us-ascii -*- require 'rubygems/test_case' require 'stringio' require 'rubygems/specification' @@ -1945,10 +1946,13 @@ end begin require "yaml" old_engine = YAML::ENGINE.yamler + verbose, $VERBOSE = $VERBOSE, nil YAML::ENGINE.yamler = 'syck' load 'rubygems/syck_hack.rb' rescue NameError # probably on 1.8, ignore + ensure + $VERBOSE = verbose end yield |