A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-September/074504.html below:

[Python-Dev] testing in a Python --without-threads build

[Python-Dev] testing in a Python --without-threads buildBill 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 <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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4