]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190)
authorMichael Droettboom <mdboom@gmail.com>
Tue, 23 Aug 2022 20:52:55 +0000 (16:52 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Aug 2022 20:52:55 +0000 (13:52 -0700)
commit054328f0dd3e9ee5a8a026dfcfa606baf7e9f052
treef644fc8860bb1e89e40ec055291e170419e4301c
parente046cf872e33cc79891d829235633077c33c9315
gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190)

The clearing of the temporary directory is not working on some platforms and
leaving behind files.

This has been updated to use the pattern in test_cmd_line.py [1] using the
special TESTFN rather than a test directory.

[1] https://github.com/python/cpython/blob/main/Lib/test/test_cmd_line.py#L559
Lib/test/test_source_encoding.py