summaryrefslogtreecommitdiff
path: root/spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-12-20 01:09:15 +0900
committerNobuyoshi Nakada <[email protected]>2025-01-08 14:11:15 +0900
commit3e6f5ead9e0a0cbbf4d8930d7eb31db057d053c2 (patch)
treeae94d39f55c83c26e58705da47cbdbdb5112e596 /spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb
parentb81db531b24a6824bf5b89d8460baed5d5418835 (diff)
Reapply "Suppress WIN32OLE deprecation warnings for the time being"
Revert the part of commit 10917c5cc026f839a3dcd072b6e274eed211d0f7, "Update to ruby/spec@18032a7", that discarded the previous commit.
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb')
-rw-r--r--spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb b/spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb
index b2f24ba151..e4f7826867 100644
--- a/spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb
+++ b/spec/ruby/library/win32ole/win32ole_method/helpstring_spec.rb
@@ -1,5 +1,7 @@
require_relative "../../../spec_helper"
platform_is :windows do
+ verbose, $VERBOSE = $VERBOSE, nil
+
require 'win32ole'
describe "WIN32OLE_METHOD#helpstring" do
@@ -18,4 +20,6 @@ platform_is :windows do
end
+ensure
+ $VERBOSE = verbose
end