Skip to content

Commit e2142e1

Browse files
committed
Remove skip decorator on window test
Signed-off-by: snowapril <[email protected]>
1 parent ac7bb4b commit e2142e1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Lib/test/test_time.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,12 @@ def test_data_attributes(self):
6060
time.timezone
6161
time.tzname
6262

63-
# TODO: RUSTPYTHON
64-
@unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
6563
def test_time(self):
6664
time.time()
6765
info = time.get_clock_info('time')
6866
self.assertFalse(info.monotonic)
6967
self.assertTrue(info.adjustable)
7068

71-
# TODO: RUSTPYTHON
72-
@unittest.skipIf(sys.platform == "win32", "Implement monotonic_ns for Windows.")
7369
def test_time_ns_type(self):
7470
def check_ns(sec, ns):
7571
self.assertIsInstance(ns, int)
@@ -504,8 +500,6 @@ def test_monotonic(self):
504500
def test_perf_counter(self):
505501
time.perf_counter()
506502

507-
# TODO: RUSTPYTHON
508-
@unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
509503
def test_process_time(self):
510504
# process_time() should not include time spend during a sleep
511505
start = time.process_time()
@@ -519,8 +513,6 @@ def test_process_time(self):
519513
self.assertTrue(info.monotonic)
520514
self.assertFalse(info.adjustable)
521515

522-
# TODO: RUSTPYTHON
523-
@unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
524516
def test_thread_time(self):
525517
if not hasattr(time, 'thread_time'):
526518
if sys.platform.startswith(('linux', 'win')):
@@ -577,8 +569,6 @@ def test_localtime_failure(self):
577569
self.assertRaises(ValueError, time.localtime, float("nan"))
578570
self.assertRaises(ValueError, time.ctime, float("nan"))
579571

580-
# TODO: RUSTPYTHON
581-
@unittest.skipIf(sys.platform == "win32", "Implement get_clock_info for Windows.")
582572
def test_get_clock_info(self):
583573
clocks = ['monotonic', 'perf_counter', 'process_time', 'time']
584574

0 commit comments

Comments
 (0)