]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-33751: Fix test_file. (GH-7378) (GH-7445)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 8 Jun 2018 17:24:19 +0000 (20:24 +0300)
committerGitHub <noreply@github.com>
Fri, 8 Jun 2018 17:24:19 +0000 (20:24 +0300)
commit23999158f962e31e955f3cd232b3745d523720cb
treeee60e651a526989be2fb18ee028a86826c198500
parent02b4d67a38b0c17d87749eeefc51e91baef10857
[2.7] bpo-33751: Fix test_file. (GH-7378) (GH-7445)

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

Also improve cleaning up after tests.
(cherry picked from commit c2745d2d05546d76f655ab450eb23d1af39e0b1c)
Lib/test/test_file.py