mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 10:33:58 +02:00
Skip test_ensure_after_nomemoryerror
This test appears to cause failures in some environments.
This commit is contained in:
parent
9931e2f509
commit
2aecb95acb
1 changed files with 1 additions and 0 deletions
|
@ -561,6 +561,7 @@ end.join
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_ensure_after_nomemoryerror
|
def test_ensure_after_nomemoryerror
|
||||||
|
skip "Forcing NoMemoryError causes problems in some environments"
|
||||||
assert_separately([], "$_ = 'a' * 1_000_000_000_000_000_000")
|
assert_separately([], "$_ = 'a' * 1_000_000_000_000_000_000")
|
||||||
rescue NoMemoryError
|
rescue NoMemoryError
|
||||||
assert_raise(NoMemoryError) do
|
assert_raise(NoMemoryError) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue