[Python-Dev] testing in a Python --without-threads build (original) (raw)

Bill Janssen janssen at parc.com
Sat Sep 8 21:19:26 CEST 2007


I can't seem to run the regression tests in a --without-threads build. Might be interesting to configure a buildbot this way to keep ourselves honest.

Because regrtest.py was importing test_socket_ssl without catching the ImportError exception:

% ./python.exe ./Lib/test/regrtest.py test_socket_ssl test_socket_ssl test_socket_ssl skipped -- No module named thread 1 test skipped: test_socket_ssl Traceback (most recent call last): File "./Lib/test/regrtest.py", line 1190, in main() File "./Lib/test/regrtest.py", line 416, in main e = _ExpectedSkips() File "./Lib/test/regrtest.py", line 1111, in init from test import test_socket_ssl File "/local/python/trunk/src/Lib/test/test_socket_ssl.py", line 8, in import threading File "/local/python/trunk/src/Lib/threading.py", line 6, in import thread ImportError: No module named thread %

So, is this an "expected skip" or not?

Bill



More information about the Python-Dev mailing list