]> granicus.if.org Git - python/commit
regrtest: close the new stdout and restore the original stdout at exit
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Jan 2011 03:54:26 +0000 (03:54 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Jan 2011 03:54:26 +0000 (03:54 +0000)
commit4b2b43d9889b498c1dc71b8a2bef8cfea45f410c
treed999c5d2805428a4d6a29b7d34ebbc30de1f740d
parent358e11d928ae4d3386c17eb0b48e7602029fec06
regrtest: close the new stdout and restore the original stdout at exit

Fix a ResourceWarning(unclosed file).
Lib/test/regrtest.py