[Python-Dev] Vacation and possibly a new bug

Kurt B. Kaiser kbk@shore.net
Tue, 22 Jul 2003 18:18:56 -0400


"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 test_time;
> test_time.test_main()"
test_asctime (test.test_time.TimeTestCase) ... ok
test_clock (test.test_time.TimeTestCase) ... ok
test_conversions (test.test_time.TimeTestCase) ... ok
test_data_attributes (test.test_time.TimeTestCase) ... ok
test_sleep (test.test_time.TimeTestCase) ... ok
test_strftime (test.test_time.TimeTestCase) ... ok
test_strptime (test.test_time.TimeTestCase) ... ok
test_tzset (test.test_time.TimeTestCase) ... FAIL

======================================================================
FAIL: test_tzset (test.test_time.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/test/test_time.py", line 107, in test_tzset
    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 "<string>", line 2, in ?
  File "/usr/local/lib/python2.3/test/test_time.py", line 125, in test_main
    test_support.run_unittest(TimeTestCase)
  File "/usr/local/lib/python2.3/test/test_support.py", line 262, in run_unittest
    run_suite(suite, testclass)
  File "/usr/local/lib/python2.3/test/test_support.py", line 247, in run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "/usr/local/lib/python2.3/test/test_time.py", line 107, in test_tzset
    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/test_time.p*
-rw-r--r--   1 root     root         4651 Jul 22 18:03 /usr/local/lib/pyth
on2.3/test/test_time.py
-rw-r--r--   1 root     root         5216 Jul 22 18:05 /usr/local/lib/python2
.3/test/test_time.pyc
-rw-r--r--   1 root     root         5216 Jul 22 18:06 /usr/local/lib/python2
.3/test/test_time.pyo

-- 
KBK