summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-23 12:38:49 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-23 12:38:49 +0000
commit2d55de939fa65e08162959be997a0383023f85ba (patch)
treefe4524c308fbbfd2b3e1c2b8b5347fb69bca7999 /test/ruby
parent5fc8102f02ecdb65d330223329277055b7ad863b (diff)
downloadruby-2d55de939fa65e08162959be997a0383023f85ba.tar.gz
ruby-2d55de939fa65e08162959be997a0383023f85ba.tar.xz
ruby-2d55de939fa65e08162959be997a0383023f85ba.zip
* test/ruby/test_marshal.rb: suppress warning during test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_marshal.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 267f435bc..069844583 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -4,6 +4,15 @@ require_relative 'marshaltestlib'
class TestMarshal < Test::Unit::TestCase
include MarshalTestLib
+ def setup
+ @verbose = $VERBOSE
+ $VERBOSE = nil
+ end
+
+ def teardown
+ $VERBOSE = @verbose
+ end
+
def encode(o)
Marshal.dump(o)
end