Message325203
POSIX allows the '%Y' format in strftime to start with a '+' sign for years with more than 4 digits. test_time is not tolerant of that, which leads to failures like this with musl:
======================================================================
FAIL: test_large_year (test.test_time.TestStrftime4dyear)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_time.py", line 683, in test_large_year
return super().test_large_year()
File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_time.py", line 706, in test_large_year
self.assertEqual(self.yearstr(12345), '12345')
AssertionError: '+12345' != '12345'
- +12345
? -
+ 12345 |
|
Date |
User |
Action |
Args |
2018-09-12 22:39:41 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
2018-09-12 22:39:41 | benjamin.peterson | set | messageid: <1536791981.88.0.956365154283.issue34654@psf.upfronthosting.co.za> |
2018-09-12 22:39:41 | benjamin.peterson | link | issue34654 messages |
2018-09-12 22:39:41 | benjamin.peterson | create | |
|