Skip to content

Commit 2f16599

Browse files
committed
Revert "Workaround ruby/prism#2289"
This reverts commit 6769f95.
1 parent c87fe8f commit 2f16599

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/mri/tests/ruby/test_process.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,12 +1823,7 @@ def test_system_sigpipe
18231823
end
18241824
end
18251825
ensure
1826-
# https://github.com/ruby/prism/issues/2289
1827-
# Process.kill(:KILL, pid) if (pid != 0) rescue false
1828-
begin
1829-
Process.kill(:KILL, pid) if (pid != 0)
1830-
rescue Errno::ESRCH
1831-
end
1826+
Process.kill(:KILL, pid) if (pid != 0) rescue false
18321827
end
18331828

18341829
if Process.respond_to?(:daemon)

0 commit comments

Comments
 (0)