diff options
Diffstat (limited to 'test/zlib/test_zlib.rb')
-rw-r--r-- | test/zlib/test_zlib.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb index b148553be..b642fabc8 100644 --- a/test/zlib/test_zlib.rb +++ b/test/zlib/test_zlib.rb @@ -5,12 +5,6 @@ require 'zlib' class TestZlibGzipWriter < Test::Unit::TestCase def test_new_nil # [ruby-dev:23228] - old = $VERBOSE - $VERBOSE = nil - begin - assert_raises(NoMethodError) { Zlib::GzipWriter.new(nil).close } - ensure - $VERBOSE = old - end + assert_raises(NoMethodError) { Zlib::GzipWriter.new(nil).close } end end |