1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "test/csv/write/test_general.rb: suppress warnings"

This reverts commit 375cf12918, to
sync csv from the upstream.
This commit is contained in:
Nobuyoshi Nakada 2020-07-19 20:47:28 +09:00
parent 05bf811c28
commit d03a7c6a25
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2020-07-20 03:35:50 +09:00

View file

@ -225,14 +225,10 @@ module TestCSVWriteGeneral
def with_default_internal(encoding)
original = Encoding.default_internal
begin
$VERBOSE, verbose_bak = nil, $VERBOSE
Encoding.default_internal = encoding
$VERBOSE = verbose_bak
yield
ensure
$VERBOSE, verbose_bak = nil, $VERBOSE
Encoding.default_internal = original
$VERBOSE = verbose_bak
end
end
end