A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-July/037198.html below:

[Python-Dev] RE: test_strptime; test_logging; test_time failure

[Python-Dev] RE: test_strptime; test_logging; test_time failureTim 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.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4