]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI...
authorGregory P. Smith <greg@krypto.org>
Sun, 17 Sep 2023 20:49:42 +0000 (13:49 -0700)
committerGitHub <noreply@github.com>
Sun, 17 Sep 2023 20:49:42 +0000 (22:49 +0200)
commit52bbb224bace65ec5eead5bdf34301ff0eec96de
treed9c332197ea22c23fa5678388ed2ac4003c5fa5d
parente9a90523c97c3c7f1937187e2ae24878227c3dd0
[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support (#109471)

[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support.

We're not fixing CGIHTTPRequestHandler as it is deprecated in 3.13 to go
away in 3.15.  This just removes noise from our test suite when warnings
are rightfully enabled.

If the long pre-existing fork+threading mix here ever causes anyone
deadlocks as is possible, disabling the test entirely on that platform
makes sense rather than attempting to fix
http.server.CGIHTTPRequestHandler or refactor to not use a threaded
server in the test.
Lib/test/test_httpservers.py