]> granicus.if.org Git - python/commit
bpo-33751: Fix test_file. (GH-7378)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Jun 2018 17:51:02 +0000 (10:51 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Jun 2018 17:51:02 +0000 (10:51 -0700)
commitf74a1244eba88b562add5193242ac55115aaf25c
tree58eea240615fa92402ea9c0d88b1313209281baa
parentb8baa33d931de557d2915c604df85ab168da0904
bpo-33751: Fix test_file. (GH-7378)

testModeStrings and testTruncateOnWindows were depended on
a file leaked in other tests.

Also improve cleaning up after tests.
(cherry picked from commit c2745d2d05546d76f655ab450eb23d1af39e0b1c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_file.py