]> granicus.if.org Git - python/commit
Fix the RLIMIT_CORE resource lowering logic in test_subprocess.
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 1 Aug 2013 22:08:51 +0000 (00:08 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 1 Aug 2013 22:08:51 +0000 (00:08 +0200)
commit284e5ce67ec0ffcc3feb5d8526727fa3a8c35f7a
tree1302af28cc6c3414dab52284f4eb031051f07fe7
parent84f31a567627bc69204caf2d801a63c7f96207eb
Fix the RLIMIT_CORE resource lowering logic in test_subprocess.
We must only lower the soft limit, since lowering the hard limit makes it impossible to raise it back at the end.
(this could prevent core dumps from being generated when the test suite crashes)
Lib/test/test_subprocess.py