This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients belopolsky, python-dev, vstinner
Date 2012-01-27.05:31:48
SpamBayes Score 3.3063618e-06
Marked as misclassified No
Message-id <1327642309.4.0.883304606433.issue13847@psf.upfronthosting.co.za>
In-reply-to
Content
There is still an error on Windows:

======================================================================
FAIL: test_localtime_failure (test.test_time.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\test\test_time.py", line 364, in test_localtime_failure
    self.assertRaises(OSError, time.gmtime, invalid_time_t)
AssertionError: OSError not raised by gmtime

http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/4074/steps/test/logs/stdio

time.ctime() uses localtime() internally, whereas time.gmtime() doesn't. Another time should maybe be written (to test a different time_t value). Or remove completly the whole test because it is not reliable :-)
History
Date User Action Args
2012-01-27 05:31:49vstinnersetrecipients: + vstinner, belopolsky, python-dev
2012-01-27 05:31:49vstinnersetmessageid: <1327642309.4.0.883304606433.issue13847@psf.upfronthosting.co.za>
2012-01-27 05:31:48vstinnerlinkissue13847 messages
2012-01-27 05:31:48vstinnercreate