]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Mar 2020 14:27:54 +0000 (07:27 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 14:27:54 +0000 (07:27 -0700)
commit6056b7b84f2f77e2c3b49a18cfebe061fc23a08a
treeb5f276bfba9d2665b42788396ddea9cd9e0e6203
parent64937d308c71a5c95627b0a0d0574d164c0cf30a
[3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) (GH-19090)

test_site.test_startup_imports() is now skipped if a path of sys.path
contains a .pth file.

Sort test_site imports.
(cherry picked from commit ba26bf30940f4347fedcf8ebc374c6e2dc375afa)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_site.py
Misc/NEWS.d/next/Tests/2020-03-18-16-04-33.bpo-27807.9gKjET.rst [new file with mode: 0644]