[Python-checkins] cpython: Isue #19634: test_y_before_1900() is expected to fail on Solaris

victor.stinner python-checkins at python.org
Sat Nov 23 17:59:01 CET 2013


http://hg.python.org/cpython/rev/e73683514b4d
changeset:   87429:e73683514b4d
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sat Nov 23 17:58:26 2013 +0100
summary:
  Isue #19634: test_y_before_1900() is expected to fail on Solaris

files:
  Lib/test/test_strftime.py |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py
--- a/Lib/test/test_strftime.py
+++ b/Lib/test/test_strftime.py
@@ -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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list