]> granicus.if.org Git - python/commitdiff
Isue #19634: test_y_before_1900() is expected to fail on Solaris
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 23 Nov 2013 16:58:26 +0000 (17:58 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 23 Nov 2013 16:58:26 +0000 (17:58 +0100)
Lib/test/test_strftime.py

index ff6274e8696acd0ddefa3f0b7d29ec76392fecff..772cd0688c3047b27b3290fe53f42075ff6f0d77 100644 (file)
@@ -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: