summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/minitest/unit.rb2
-rw-r--r--lib/test/unit/assertions.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/minitest/unit.rb b/lib/minitest/unit.rb
index 28e14498a4..c45dec3fc4 100644
--- a/lib/minitest/unit.rb
+++ b/lib/minitest/unit.rb
@@ -222,8 +222,6 @@ module MiniTest
begin
yield
should_raise = true
- rescue MiniTest::Skip
- raise
rescue Exception => e
details = "#{msg}#{mu_pp(exp)} exception expected, not"
assert(exp.any? { |ex|
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb
index 6e4707fc25..f4e4e74e1e 100644
--- a/lib/test/unit/assertions.rb
+++ b/lib/test/unit/assertions.rb
@@ -32,8 +32,6 @@ module Test
end
begin
line = __LINE__; yield
- rescue MiniTest::Skip
- raise
rescue Exception => e
bt = e.backtrace
as = e.instance_of?(MiniTest::Assertion)