]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Clean up test_posixpath (GH-134315)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 20 May 2025 07:51:44 +0000 (10:51 +0300)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 07:51:44 +0000 (10:51 +0300)
commite29171bf8a26b5faf97222e07a7d5f33c9eb272b
tree61e9b77baff755c3ba1e34579e259168f967f881
parent652d6938ef8c42c1c4c180c3f0e257c26c6677da
Clean up test_posixpath (GH-134315)

* Ensure that created files and dirs are always removed after test.
  Now addCleanup() does not conflict with tearDown().
* Use os_helper.unlink() and os_helper.rmdir().
* Import TESTFN from os_helper.
Lib/test/test_posixpath.py