From 2d55de939fa65e08162959be997a0383023f85ba Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 23 Jul 2008 12:38:49 +0000 Subject: * 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 --- test/ruby/test_marshal.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/ruby') 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 -- cgit