[Python-Dev] Vacation and possibly a new bug (original) (raw)

Brett C. drifty@alum.berkeley.edu
Tue, 22 Jul 2003 15:40:53 -0700


Kurt B. Kaiser wrote:

"Brett C." <bac@OCF.Berkeley.EDU> writes:

Did you run autoreconf? That is an important step since it regenerates configure from the patch file. ==================== autoreconf ./configure make make install ==================== [kbk@float ~/PYSRC]$ lsl config* -rw-r--r-- 1 kbk users 105368 Jul 22 17:55 config.log -rwxr-xr-x 1 kbk users 52705 Jul 22 17:55 config.status* -rw-r--r-- 1 kbk users 13585 Jul 22 17:12 config22Jul03.log -rw-r--r-- 1 kbk users 13546 Jul 22 17:55 config22Jul03b.log -rwxr-xr-x 1 kbk users 502876 Jul 22 17:52 configure* -rw-r--r-- 1 kbk users 82844 Jul 22 17:07 configure.in [kbk@float ~/PYSRC]$ python2.3 -c "from test import testtime; testtime.testmain()" testasctime (test.testtime.TimeTestCase) ... ok testclock (test.testtime.TimeTestCase) ... ok testconversions (test.testtime.TimeTestCase) ... ok testdataattributes (test.testtime.TimeTestCase) ... ok testsleep (test.testtime.TimeTestCase) ... ok teststrftime (test.testtime.TimeTestCase) ... ok teststrptime (test.testtime.TimeTestCase) ... ok testtzset (test.testtime.TimeTestCase) ... FAIL ====================================================================== FAIL: testtzset (test.testtime.TimeTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.3/test/testtime.py", line 107, in testtzset self.failUnless(time.tzname[1] == 'AEDT', str(time.tzname[1])) File "/usr/local/lib/python2.3/unittest.py", line 268, in failUnless if not expr: raise self.failureException, msg AssertionError: AEST ---------------------------------------------------------------------- Ran 8 tests in 2.094s FAILED (failures=1) Traceback (most recent call last): File "", line 2, in ? File "/usr/local/lib/python2.3/test/testtime.py", line 125, in testmain testsupport.rununittest(TimeTestCase) File "/usr/local/lib/python2.3/test/testsupport.py", line 262, in rununittest runsuite(suite, testclass) File "/usr/local/lib/python2.3/test/testsupport.py", line 247, in runsuite raise TestFailed(err) test.testsupport.TestFailed: Traceback (most recent call last): File "/usr/local/lib/python2.3/test/testtime.py", line 107, in testtzset self.failUnless(time.tzname[1] == 'AEDT', str(time.tzname[1])) File "/usr/local/lib/python2.3/unittest.py", line 268, in failUnless if not expr: raise self.failureException, msg AssertionError: AEST [kbk@float ~/PYSRC]$ lsl which python2.3 -rwxr-xr-x 2 root root 2506493 Jul 22 18:03 /usr/local/bin/ python2.3* [kbk@float ~/PYSRC]$ lsl /usr/local/lib/python2.3/test/testtime.p* -rw-r--r-- 1 root root 4651 Jul 22 18:03 /usr/local/lib/pyth on2.3/test/testtime.py -rw-r--r-- 1 root root 5216 Jul 22 18:05 /usr/local/lib/python2 .3/test/testtime.pyc -rw-r--r-- 1 root root 5216 Jul 22 18:06 /usr/local/lib/python2 .3/test/testtime.pyo

Nuts. Well, then I am stumped on how to fix this tzset problem. The damn autoconf code should have failed and thus time.tzset should not have been compiled.

Any suggestions?

-Brett