(original) (raw)

changeset: 87429:e73683514b4d user: Victor Stinner victor.stinner@gmail.com date: Sat Nov 23 17:58:26 2013 +0100 files: Lib/test/test_strftime.py description: Isue #19634: test_y_before_1900() is expected to fail on Solaris diff -r dc3c30dac5e3 -r e73683514b4d Lib/test/test_strftime.py --- a/Lib/test/test_strftime.py Sat Nov 23 08:46:14 2013 -0800 +++ b/Lib/test/test_strftime.py Sat Nov 23 17:58:26 2013 +0100 @@ -183,8 +183,10 @@ """ def test_y_before_1900(self): + # Issue #13674, #19634 t = (1899, 1, 1, 0, 0, 0, 0, 0, 0) - if sys.platform == "win32" or sys.platform.startswith("aix"): + if (sys.platform == "win32" + or sys.platform.startswith(("aix", "sunos", "solaris"))): with self.assertRaises(ValueError): time.strftime("%y", t) else: /victor.stinner@gmail.com