[Python-Dev] RE: test_strptime; test_logging; test_time failure
Tim Peters
tim.one@comcast.net
Thu, 24 Jul 2003 11:20:17 -0400
[Brett C.]
> OK, then I am ripping out the caching mechanism and will have it
> committed by midnight PT.
It was a mistake to check this in without confirming first that it actually
cured the problem. In fact, the same failure still occurs when
test_logging's restoration of locale is removed:
C:\Code\python\PCbuild>python ../lib/test/regrtest.py test_strptime
test_logging
test_time
test_strptime
test_logging
test_time
test test_time failed -- Traceback (most recent call last):
File "C:\Code\python\lib\test\test_time.py", line 49, in test_strptime
self.fail('conversion specifier: %r failed.' % format)
File "C:\Code\python\lib\unittest.py", line 260, in fail
raise self.failureException, msg
AssertionError: conversion specifier: ' %c' failed.
2 tests OK.
1 test failed:
test_time
The other failure mode has gone away (switching the order of the first two
tests), though:
C:\Code\python\PCbuild>python ../lib/test/regrtest.py test_logging
test_strptime
test_time
test_logging
test_strptime
test_time
All 3 tests OK.
There's no more time for this, so anything more should wait for 2.3.1.