diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-10-20 11:30:35 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-10-20 11:30:35 +0900 |
commit | a8ed49b184fb1e7b3bb515f00974345bfbf6f9ce (patch) | |
tree | 0cbfb8af4e13dd1b443b75c7b10879e0e62410df /test/psych/test_exception.rb | |
parent | da2947306e78c6db8b3ff1071ae64452a9781956 (diff) | |
download | psych-a8ed49b184fb1e7b3bb515f00974345bfbf6f9ce.tar.gz |
Avoid to warnings for deprecated interfaces.
Diffstat (limited to 'test/psych/test_exception.rb')
-rw-r--r-- | test/psych/test_exception.rb | 6 |
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 |