diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index 4abbb4cf6f..d1ff5612d3 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -561,6 +561,7 @@ end.join end def test_ensure_after_nomemoryerror + skip "Forcing NoMemoryError causes problems in some environments" assert_separately([], "$_ = 'a' * 1_000_000_000_000_000_000") rescue NoMemoryError assert_raise(NoMemoryError) do