[Python-Dev] test_strptime failed

Jeremy Hylton jeremy@zope.com
05 Jun 2003 17:56:16 -0400


I've been running the python tests frequently today, from a checkout I
did mid-morning.  I just noticed an unexpected failure.  This is with a
regular build; I'll see if it is repeatable.

Jeremy


test test_strptime failed -- Traceback (most recent call last):
  File "/home/jeremy/src/python/dist/src/Lib/test/test_strptime.py",
line 203, in test_compile
    self.failUnless(found, "Matching failed on '%s' using '%s' regex" %
  File "/home/jeremy/src/python/dist/src/Lib/unittest.py", line 268, in
failUnless
    if not expr: raise self.failureException, msg
AssertionError: Matching failed on 'Thu 05 Jun 2003 05:46:43 PM EDT'
using
'(?P<a>Mon|Tue|Wed|Thu|Fri|Sat|Sun)\s*(?P<d>3[0-1]|[1-2]\d|0[1-9]|[1-9]|
[1-9])\s*(?P<b>Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s*(?P<Y>\d\d\d\d)\s*(?P<I>1[0-2]|0[1-9]|[1-9]):(?P<M>[0-5]\d|\d):(?P<S>6[0-1]|[0-5]\d|\d)\s*(?P<p>AM|PM)\s*EST' regex