]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] Clean up test_posixpath (GH-134315) (GH-134316)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 May 2025 08:18:13 +0000 (10:18 +0200)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 08:18:13 +0000 (08:18 +0000)
commit9be3413b60d8fdcc0fed605440815e0532932a39
tree14575f228f3492f3075797a1c85bcde6f31985e3
parent90aa13ae478f1eb1d5d02867382c33ee7670ab5c
[3.14] Clean up test_posixpath (GH-134315) (GH-134316)

* 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.
(cherry picked from commit e29171bf8a26b5faf97222e07a7d5f33c9eb272b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_posixpath.py