From: Victor Stinner Date: Sat, 23 Nov 2013 16:58:26 +0000 (+0100) Subject: Isue #19634: test_y_before_1900() is expected to fail on Solaris X-Git-Tag: v3.4.0b1~64^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0da64f7ffb35db7f71c389214bc68cc91d5cb091;p=thirdparty%2FPython%2Fcpython.git Isue #19634: test_y_before_1900() is expected to fail on Solaris --- diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index ff6274e8696a..772cd0688c30 100644 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -183,8 +183,10 @@ class Y1900Tests(unittest.TestCase): """ 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: