summaryrefslogtreecommitdiff
path: root/test/psych/test_exception.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-20 11:30:35 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-20 11:30:35 +0900
commita8ed49b184fb1e7b3bb515f00974345bfbf6f9ce (patch)
tree0cbfb8af4e13dd1b443b75c7b10879e0e62410df /test/psych/test_exception.rb
parentda2947306e78c6db8b3ff1071ae64452a9781956 (diff)
downloadpsych-a8ed49b184fb1e7b3bb515f00974345bfbf6f9ce.tar.gz
Avoid to warnings for deprecated interfaces.
Diffstat (limited to 'test/psych/test_exception.rb')
-rw-r--r--test/psych/test_exception.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/psych/test_exception.rb b/test/psych/test_exception.rb
index 3c72f4a..df7fd73 100644
--- a/test/psych/test_exception.rb
+++ b/test/psych/test_exception.rb
@@ -15,6 +15,12 @@ module Psych
def setup
super
@wups = Wups.new
+
+ @orig_verbose, $VERBOSE = $VERBOSE, nil
+ end
+
+ def teardown
+ $VERBOSE = @orig_verbose
end
def test_naming_exception