Commit e14b3811 authored by Greg Ward's avatar Greg Ward

Hack to workaround bug #445984: attempt to import _socket before

starting the test suite proper.  If _socket fails to build, that will
make this test fail with an ImportError -- handled by the test harness
as "no such module _socket" -- instead of an AttributeError deep in
CGIHTTPServer.
parent efba6af4
......@@ -38,6 +38,10 @@ def check_all(modname):
all.sort()
verify(keys==all, "%s != %s" % (keys, all))
# In case _socket fails to build, make this test fail more gracefully
# than an AttributeError somewhere deep in CGIHTTPServer.
import _socket
check_all("BaseHTTPServer")
check_all("CGIHTTPServer")
check_all("ConfigParser")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment