]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate()
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Jun 2011 18:01:29 +0000 (20:01 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Jun 2011 18:01:29 +0000 (20:01 +0200)
commitfcc2a21fae20b312e913a26121a12752ba768ad1
treeae0117cbd7684216c6c23f8bacf5feb974913863
parent592f679dce01dce70f1f917270e84e09c92ff337
Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate()

.truncate(0) doesn't rewind.
Lib/test/regrtest.py