Kaydet (Commit) 0da64f7f authored tarafından Victor Stinner's avatar Victor Stinner

Isue #19634: test_y_before_1900() is expected to fail on Solaris

üst cfc6901a
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment