]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] Clean up test_posixpath (GH-134315) (GH-134317)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 May 2025 08:15:29 +0000 (10:15 +0200)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 08:15:29 +0000 (08:15 +0000)
commitedf2de0178855f07af1d4547defe9a104fa7e240
treed0c1353d8979c60fd23a6f9f4878b94b75b0aeb2
parent783675e73f78ace7dc9fc318726f726de2a15855
[3.13] Clean up test_posixpath (GH-134315) (GH-134317)

* 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