]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test_os: Win32ErrorTests now ensures that TESTFN doesn't exist
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 25 Mar 2016 09:28:23 +0000 (10:28 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 25 Mar 2016 09:28:23 +0000 (10:28 +0100)
commite77c974357fa96917e6966d627a69eae8a919b37
tree6a11773878b477093197c78e3490fda3ec67c02f
parentb72e21b9ab8021b7cbb7e0007d1bf80d533bce15
test_os: Win32ErrorTests now ensures that TESTFN doesn't exist

Replace also other open(filename, "w") with open(filename, "x") to fail if a
previous test forgot to remove filename.
Lib/test/test_os.py