ruby-changes:62275
From: Nobuyoshi <ko1@a...>
Date: Mon, 20 Jul 2020 03:35:17 +0900 (JST)
Subject: [ruby-changes:62275] d03a7c6a25 (master): Revert "test/csv/write/test_general.rb: suppress warnings"
https://git.ruby-lang.org/ruby.git/commit/?id=d03a7c6a25 From d03a7c6a25fad2393d8eb2cccd1680e37206cd7e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 19 Jul 2020 20:47:28 +0900 Subject: Revert "test/csv/write/test_general.rb: suppress warnings" This reverts commit 375cf129189f32f7be76ac525035bcde691a63e7, to sync csv from the upstream. 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 https://github.com/ruby/ruby/blob/trunk/test/csv/write/test_general.rb#L225 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/