Isue #19634: test_y_before_1900() is expected to fail on Solaris
This commit is contained in:
parent
cfc6901a7e
commit
0da64f7ffb
@ -183,8 +183,10 @@ class Y1900Tests(unittest.TestCase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def test_y_before_1900(self):
|
def test_y_before_1900(self):
|
||||||
|
# Issue #13674, #19634
|
||||||
t = (1899, 1, 1, 0, 0, 0, 0, 0, 0)
|
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):
|
with self.assertRaises(ValueError):
|
||||||
time.strftime("%y", t)
|
time.strftime("%y", t)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user