From ecfbf1df33a1e90008baa131369c80cfa6282692 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 6 Sep 2021 19:33:56 +0900 Subject: Use Test::Unit::PendedError instead of MiniTest::Skip for test-unit migration --- test/openssl/utils.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/openssl') diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb index 8ee0116412..ab5fab4ba3 100644 --- a/test/openssl/utils.rb +++ b/test/openssl/utils.rb @@ -294,8 +294,7 @@ class OpenSSL::SSLTestCase < OpenSSL::TestCase timeout = EnvUtil.apply_timeout_scale(30) th.join(timeout) or th.raise(RuntimeError, "[start_server] thread did not exit in #{timeout} secs") - rescue (defined?(MiniTest::Skip) ? MiniTest::Skip : Test::Unit::PendedError) - # MiniTest::Skip is for the Ruby tree + rescue Test::Unit::PendedError pend = $! rescue Exception end -- cgit v1.2.3