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 pitrou
Recipients belopolsky, orsenthil, pitrou
Date 2010-06-10.20:20:18
SpamBayes Score 0.0054774657
Marked as misclassified No
Message-id <1276201221.36.0.622994994986.issue8963@psf.upfronthosting.co.za>
In-reply-to
Content
The patch is not sufficient, since other failures can then occur if test_strptime gets run after test_urllibnet:

======================================================================
ERROR: test_twelve_noon_midnight (test.test_strptime.Strptime12AMPMTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/debug/Lib/test/test_strptime.py", line 389, in test_twelve_noon_midnight
    eq(time.strptime('12 PM', '%I %p')[3], 12)
  File "/home/antoine/py3k/debug/Lib/_strptime.py", line 461, in _strptime_time
    return _strptime(data_string, format)[0]
  File "/home/antoine/py3k/debug/Lib/_strptime.py", line 335, in _strptime
    data_string[found.end():])
ValueError: unconverted data remains: PM

======================================================================
FAIL: test_pattern (test.test_strptime.TimeRETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/debug/Lib/test/test_strptime.py", line 124, in test_pattern
    pattern_string)
AssertionError: did not find abbreviated weekday in pattern string '(?P<a>lun\.|mar\.|mer\.|jeu\.|ven\.|sam\.|dim\.)\s+(?P<A>mercredi|vendredi|dimanche|samedi|lundi|mardi|jeudi)\s+(?P<d>3[0-1]|[1-2]\d|0[1-9]|[1-9]| [1-9])'

======================================================================
FAIL: test_hour (test.test_strptime.StrptimeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/debug/Lib/test/test_strptime.py", line 266, in test_hour
    (strf_output, strp_output[3], self.time_tuple[3]))
AssertionError: testing of '%I %p' directive failed; '08 ' -> 8 != 20

----------------------------------------------------------------------
History
Date User Action Args
2010-06-10 20:20:21pitrousetrecipients: + pitrou, belopolsky, orsenthil
2010-06-10 20:20:21pitrousetmessageid: <1276201221.36.0.622994994986.issue8963@psf.upfronthosting.co.za>
2010-06-10 20:20:19pitroulinkissue8963 messages
2010-06-10 20:20:18pitroucreate