]> 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:50:53 +0000 (10:50 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Jun 2018 17:50:53 +0000 (10:50 -0700)
commit1d419faccdaae27d968cef1e1ece6b9374694573
tree715571c388add167cb12a3d8e5be917d0f94c9e5
parent79c7e57c46a9e5ae2b99a821e152f334b775df2d
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