[Python-bugs-list] [ python-Bugs-776205 ] MacOS9: test_strptime fails

SourceForge.net noreply@sourceforge.net
Thu, 31 Jul 2003 12:38:49 -0700


Bugs item #776205, was opened at 2003-07-23 14:05
Message generated for change (Settings changed) made by jackjansen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776205&group_id=5470

Category: Macintosh
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: MacOS9: test_strptime fails

Initial Comment:
Test_strptime fails in MacPython-OS9:

test test_strptime failed -- Traceback (most recent call last):
  File 
"Sap:ufs:jack:SWDev:MacPython:Lib:test:test_strptime.py", 
line 308, in test_timezone
    "timezone check failed; '%s' -> %s != %s" %
  File "Sap:ufs:jack:SWDev:MacPython:Lib:unittest.py", line 
268, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: timezone check failed; '' -> 0 != 1

Probably this specific test should be skipped on the mac, 
which has no useful timezone information.

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

>Comment By: Jack Jansen (jackjansen)
Date: 2003-07-31 21:38

Message:
Logged In: YES 
user_id=45365

Fixed by skipping the timezone test on MacOS9. Timezone support 
is non-existent anyway.

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

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