Message107481
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
---------------------------------------------------------------------- |
|
Date |
User |
Action |
Args |
2010-06-10 20:20:21 | pitrou | set | recipients:
+ pitrou, belopolsky, orsenthil |
2010-06-10 20:20:21 | pitrou | set | messageid: <1276201221.36.0.622994994986.issue8963@psf.upfronthosting.co.za> |
2010-06-10 20:20:19 | pitrou | link | issue8963 messages |
2010-06-10 20:20:18 | pitrou | create | |
|