Remove skip decorator on window test
@@ -60,16 +60,12 @@ class TimeTestCase(unittest.TestCase):
time.timezone
time.tzname
- # TODO: RUSTPYTHON
- @unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
def test_time(self):
time.time()
info = time.get_clock_info('time')
self.assertFalse(info.monotonic)
self.assertTrue(info.adjustable)
- # TODO: RUSTPYTHON
- @unittest.skipIf(sys.platform == "win32", "Implement monotonic_ns for Windows.")
def test_time_ns_type(self):
def check_ns(sec, ns):
self.assertIsInstance(ns, int)
@@ -504,8 +500,6 @@ class TimeTestCase(unittest.TestCase):
def test_perf_counter(self):
time.perf_counter()
- # TODO: RUSTPYTHON
- @unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
def test_process_time(self):
# process_time() should not include time spend during a sleep
start = time.process_time()
@@ -519,8 +513,6 @@ class TimeTestCase(unittest.TestCase):
self.assertTrue(info.monotonic)
self.assertFalse(info.adjustable)
- # TODO: RUSTPYTHON
- @unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
def test_thread_time(self):
if not hasattr(time, 'thread_time'):
if sys.platform.startswith(('linux', 'win')):
@@ -577,8 +569,6 @@ class TimeTestCase(unittest.TestCase):
self.assertRaises(ValueError, time.localtime, float("nan"))
self.assertRaises(ValueError, time.ctime, float("nan"))
- # TODO: RUSTPYTHON
- @unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
def test_get_clock_info(self):
clocks = ['monotonic', 'perf_counter', 'process_time', 'time']
