diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-23 12:38:49 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-23 12:38:49 +0000 |
commit | ae7e1482562e4132ea2b3a37eefd124a343b9fc4 (patch) | |
tree | fe4524c308fbbfd2b3e1c2b8b5347fb69bca7999 /test/ruby/test_marshal.rb | |
parent | ec6c4abdba820541180b7d297dc40ee011a2dc8a (diff) | |
download | ruby-ae7e1482562e4132ea2b3a37eefd124a343b9fc4.tar.gz |
* test/ruby/test_marshal.rb: suppress warning during test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_marshal.rb')
-rw-r--r-- | test/ruby/test_marshal.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index 267f435bcb..069844583b 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 |