summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-06 19:33:56 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-06 19:33:56 +0900
commitecfbf1df33a1e90008baa131369c80cfa6282692 (patch)
tree82de7c7f618231ba126e2f56650d9ecb161a05d3 /test
parent544e37f184d38d52423d163b711cd626e53ff75b (diff)
Use Test::Unit::PendedError instead of MiniTest::Skip for test-unit migration
Diffstat (limited to 'test')
-rw-r--r--test/openssl/utils.rb3
1 files changed, 1 insertions, 2 deletions
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