]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 Apr 2024 12:41:32 +0000 (14:41 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Apr 2024 12:41:32 +0000 (12:41 +0000)
commitfbe29e639d9d45928d10f25c1b518490d85a4cad
treec3d64cb09ec9554d41a3f0f525b709be9dd3b5c4
parent30725f0ad207511ca146bc8130a10513fbed7a7b
[3.12] gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242) (GH-117508)

* gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242)
(cherry picked from commit fc5f68e58ecfbc8c452e1c2f33a2a53d3f2d7ea2)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/library/unittest.rst
Lib/test/test_unittest/test_discovery.py
Lib/unittest/loader.py
Misc/NEWS.d/next/Library/2019-08-12-19-08-06.bpo-15010.3bY2CF.rst [new file with mode: 0644]