[Python-bugs-list] [ python-Bugs-460357 ] test_time fails on Sparc64

noreply@sourceforge.net noreply@sourceforge.net
Wed, 03 Apr 2002 01:34:27 -0800


Bugs item #460357, was opened at 2001-09-10 17:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=460357&group_id=5470

Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_time fails on Sparc64

Initial Comment:
On Solaris8, with the WS6U1 compiler, after setting CC
to 'cc -xarch=v9', test_time.py fails with

  File "Lib/test/test_time.py", line 46, in test_mktime
    time.mktime, (999999, 999999, 999999, 999999,
  File
"/vol/marvin-vol8/loewis/python/dist/src/Lib/unittest.py",
line 273, in failUnlessRaises
    raise self.failureException, excName
AssertionError: OverflowError

The problem is that the test doesn't overflow. Instead,
it gives the value 34214554704339.0.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-04-03 11:34

Message:
Logged In: YES 
user_id=21627

This was reported for alpha as well, as #538369.

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

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