]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test.pythoninfo no longer requires socket (GH-93191)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 May 2022 00:41:02 +0000 (17:41 -0700)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 00:41:02 +0000 (17:41 -0700)
commit7a5f190c9fa7c6cbd334dfea9ae6032ac886dd89
treec624027912efcdaf6f116b154f547bb5e787c4f5
parenta6ee7f99cc3344e130383b7cf070723ff47ea99c
test.pythoninfo no longer requires socket (GH-93191)

test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8a32699973ae1f779022794fdab9fa08ee)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/pythoninfo.py