SIGN IN SIGN UP

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
M
Michael Droettboom committed
054328f0dd3e9ee5a8a026dfcfa606baf7e9f052
Parent: e046cf8
Committed by GitHub <noreply@github.com> on 8/23/2022, 8:52:55 PM