summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-07-19 20:47:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-07-20 02:32:48 +0900
commitd03a7c6a25fad2393d8eb2cccd1680e37206cd7e (patch)
tree7f00fb4b27be3c305d7c923d3110642314f37b86 /test/csv
parent05bf811c2839628aaef3d565daedb28be80d47ef (diff)
Revert "test/csv/write/test_general.rb: suppress warnings"
This reverts commit 375cf129189f32f7be76ac525035bcde691a63e7, to sync csv from the upstream.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3332
Diffstat (limited to 'test/csv')
-rw-r--r--test/csv/write/test_general.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/csv/write/test_general.rb b/test/csv/write/test_general.rb
index f39456b..d157b74 100644
--- a/test/csv/write/test_general.rb
+++ b/test/csv/write/test_general.rb
@@ -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