[Python-bugs-list] [ python-Bugs-791542 ] test_threading

SourceForge.net noreply at sourceforge.net
Mon Sep 8 14:00:33 EDT 2003


Bugs item #791542, was opened at 2003-08-19 17:32
Message generated for change (Comment added) made by sleard1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=791542&group_id=5470

Category: Build
Group: Python 2.2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Shawn Leard (sleard1)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_threading

Initial Comment:


Due the problems reported with version 2.3 I thought I

would give version 2.2.3 a shot. The problem I am

having here is no matter what switches I pass configure

to disable threading it still tries to test them and as

a result the make test fails.



168 tests OK.

1 test failed:

    test_threading

24 tests skipped:

    test_al test_asynchat test_bsddb test_cd test_cl

test_curses

    test_dl test_email_codecs test_fork1 test_gl

test_imgfile

    test_linuxaudiodev test_minidom test_openpty

test_pyexpat

    test_queue test_sax test_socket_ssl

test_socketserver test_thread

    test_threaded_import test_threadedtempfile test_winreg

    test_winsound



--------



./configure --prefix=/usr/local --with-gnu-ld

--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld

--enable-nls   --with-included-gettext --with-fpectl

--with-threads=no --without-threads --disable-threads

--with-gnu-as



--------



mars$ /files/local/src/Python-2.2.3/python

test_threading.py

Traceback (most recent call last):

  File "test_threading.py", line 7, in ?

    import threading

  File

"/files/local/src/Python-2.2.3/Lib/threading.py", line

5, in ?

    import thread

ImportError: No module named thread



----------------------------------------------------------------------

>Comment By: Shawn Leard (sleard1)
Date: 2003-09-08 16:00

Message:
Logged In: YES 
user_id=328879





I will give this a shot and get back to you.





----------------------------------------------------------------------

Comment By: Brett Cannon (bcannon)
Date: 2003-09-04 21:53

Message:
Logged In: YES 
user_id=357491

In order to better debug this, can you state what the line says 

when test_threading fails; e.g., "test_sunaudiodev skipped -- ..."?



The test will be run regardless of whether you compiled with 

threads or not, but it should be listed as a skip instead of a 

failure.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=791542&group_id=5470



More information about the Python-bugs-list mailing list