Christian Heimes
03c8ddd9e9
bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413)
...
Signed-off-by: Christian Heimes <christian@python.org>
2020-11-20 00:26:07 -08:00
Hai Shi
06a40d7359
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
2020-06-25 14:15:40 +02:00
Victor Stinner
2935e65c36
bpo-40275: Fix name error in support.socket_helper (GH-19825)
...
Replace TestFailed with support.TestFailed.
Bug spotted by pyflakes.
2020-05-01 02:35:24 +02:00
Pablo Galindo
5089bcd33f
Add missing sys import to socket_helper.py (GH-19791)
2020-04-29 12:32:31 +01:00
Serhiy Storchaka
bfb1cf4465
bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711)
2020-04-29 10:36:20 +03:00
Serhiy Storchaka
16994912c9
bpo-40275: Avoid importing socket in test.support (GH-19603)
...
* Move socket related functions from test.support to socket_helper.
* Import socket, nntplib and urllib.error lazily in transient_internet().
* Remove importing multiprocess.
2020-04-25 10:06:29 +03:00