change to not create rust error
@@ -153,6 +153,7 @@ class TimeTestCase(unittest.TestCase):
self.assertRaises(ValueError, time.sleep, -1)
time.sleep(1.2)
+ @unittest.skip("TODO: RUSTPYTHON")
def test_strftime(self):
tt = time.gmtime(self.t)
for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I',
@@ -228,6 +229,7 @@ class TimeTestCase(unittest.TestCase):
def test_strftime_bounding_check(self):
self._bounds_checking(lambda tup: time.strftime('', tup))
+ @unittest.skip("TODO: RUSTPYTHON")
def test_strftime_format_check(self):
# Test that strftime does not crash on invalid format strings
# that may trigger a buffer overread. When not triggered,
@@ -432,6 +434,7 @@ class TimeTestCase(unittest.TestCase):
# Issue #13309: passing extreme values to mktime() or localtime()
# borks the glibc's internal timezone data.
+ @unittest.skip("TODO: RUSTPYTHON")
@unittest.skipUnless(platform.libc_ver()[0] != 'glibc',
"disabled because of a bug in glibc. Issue #13309")
def test_mktime_error(self):
