Make test fails on time module with Python 1.5.2/Linux2/EGCS! Help!
Alexander Staubo
nospam at mop.no
Tue May 11 15:29:35 EDT 1999
After doing a "make; make test", I get a failure in testing test_time.py.
Here's the output when I run the test on its own:
tradecenter:/usr/src/python# python Lib/test/test_time.py
Traceback (innermost last):
File "Lib/test/test_time.py", line 3, in ?
time.altzone
AttributeError: altzone
Other global variables in the time module fail (eg., daytime):
tradecenter:/usr/src/python/Modules# python
Python 1.5.2 (#1, May 11 1999, 18:30:09) [GCC egcs-2.91.60 19981201
(egcs-1.1.1 on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import time; time.daytime
Traceback (innermost last):
File "<stdin>", line 1, in ?
AttributeError: daytime
>>>
Maybe Python has a problem with EGCS? That said, the compilator does not
seem to output any errors (I'd be only happy to forward the make output
to anyone interested.) I have not tried making with plain GCC.
Alexander Staubo
http://www.mop.no/~alex/
mailto:redhand at mop.no
More information about the Python-list
mailing list