diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-23 16:58:26 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-23 16:58:26 (GMT) |
commit | 0da64f7ffb35db7f71c389214bc68cc91d5cb091 (patch) | |
tree | ecfdef0dbf8abbe99090e55723026a03a2c24db6 /Lib/test/test_strftime.py | |
parent | cfc6901a7edd64a8571b4573fe93154033618522 (diff) | |
download | cpython-0da64f7ffb35db7f71c389214bc68cc91d5cb091.zip cpython-0da64f7ffb35db7f71c389214bc68cc91d5cb091.tar.gz cpython-0da64f7ffb35db7f71c389214bc68cc91d5cb091.tar.bz2 |
Isue #19634: test_y_before_1900() is expected to fail on Solaris
Diffstat (limited to 'Lib/test/test_strftime.py')
-rw-r--r-- | 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 index ff6274e..772cd06 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: |