[Python-bugs-list] [ python-Bugs-763153 ] unit test test_time failed

SourceForge.net noreply@sourceforge.net
Wed, 09 Jul 2003 10:15:40 -0700


Bugs item #763153, was opened at 2003-06-30 05:35
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=763153&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Torsten Will (towi)
Assigned to: Brett Cannon (bcannon)
Summary: unit test test_time failed

Initial Comment:
=== ERROR MASSAGE ===

$ make test
...
test test_time failed -- Traceback (most recent call last):
  File "/vol/tmp/Python-2.3b2/Lib/test/test_time.py",
line 107, in test_tzset
    self.failUnless(time.tzname[1] == 'AEDT',
str(time.tzname[1]))
  File "/vol/tmp/Python-2.3b2/Lib/unittest.py", line
268, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: AEST
...

=========== SYSTEM ===========

$ cat /proc/version 
Linux version 2.4.19 (root@haplo) (gcc version 2.95.3
20010315 (SuSE)) #4 SMP Tue Mar 4 09:23:24 CET 2003



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

>Comment By: Brett Cannon (bcannon)
Date: 2003-07-09 10:15

Message:
Logged In: YES 
user_id=357491

Torsten, can you please try the patch that Neal pointed out?  We 
are approaching the release of Python 2.3 (by the end of the 
month) and it would be nice if this bug was settled before it goes 
out.

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

Comment By: Brett Cannon (bcannon)
Date: 2003-06-30 22:10

Message:
Logged In: YES 
user_id=357491

If you are referring to bug #763047 and its cohort #763052, then 
no, I don't think so.  Those I think were an actual bug in the code.  
But there *is* a possibility since _strptime does call time.tzset 
when it calculates what timezones it knows about.

I am unassigning from myself since I have never touched 
time.tzset (don't remember who wrote time.tzset off the top of my 
head but it is a Python 2.3 feature).

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

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-06-30 19:38

Message:
Logged In: YES 
user_id=80475

Brett, is this related to the other failures?

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

Comment By: Torsten Will (towi)
Date: 2003-06-30 10:56

Message:
Logged In: YES 
user_id=269193

suse 7.1 or 7.2. kernel 2.19.
i cannot apply the patch just now, but i will try tomorrow.

tt.


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

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-06-30 08:15

Message:
Logged In: YES 
user_id=33168

What OS are you using?  Redhat 6.2, perhaps?  Can you test
patch 762934?  http://python.org/sf/762934

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

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