> 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 <module>
    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 
<module>
    import threading
  File "/local/python/trunk/src/Lib/threading.py", line 6, in <module>
    import thread
ImportError: No module named thread
%

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

Bill

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to