@@ -60,16 +60,12 @@ def test_data_attributes(self):
60
60
time .timezone
61
61
time .tzname
62
62
63
- # TODO: RUSTPYTHON
64
- @unittest .skipIf (sys .platform == "win32" , "Implement get_clock_info for Windows." )
65
63
def test_time (self ):
66
64
time .time ()
67
65
info = time .get_clock_info ('time' )
68
66
self .assertFalse (info .monotonic )
69
67
self .assertTrue (info .adjustable )
70
68
71
- # TODO: RUSTPYTHON
72
- @unittest .skipIf (sys .platform == "win32" , "Implement monotonic_ns for Windows." )
73
69
def test_time_ns_type (self ):
74
70
def check_ns (sec , ns ):
75
71
self .assertIsInstance (ns , int )
@@ -504,8 +500,6 @@ def test_monotonic(self):
504
500
def test_perf_counter (self ):
505
501
time .perf_counter ()
506
502
507
- # TODO: RUSTPYTHON
508
- @unittest .skipIf (sys .platform == "win32" , "Implement get_clock_info for Windows." )
509
503
def test_process_time (self ):
510
504
# process_time() should not include time spend during a sleep
511
505
start = time .process_time ()
@@ -519,8 +513,6 @@ def test_process_time(self):
519
513
self .assertTrue (info .monotonic )
520
514
self .assertFalse (info .adjustable )
521
515
522
- # TODO: RUSTPYTHON
523
- @unittest .skipIf (sys .platform == "win32" , "Implement get_clock_info for Windows." )
524
516
def test_thread_time (self ):
525
517
if not hasattr (time , 'thread_time' ):
526
518
if sys .platform .startswith (('linux' , 'win' )):
@@ -577,8 +569,6 @@ def test_localtime_failure(self):
577
569
self .assertRaises (ValueError , time .localtime , float ("nan" ))
578
570
self .assertRaises (ValueError , time .ctime , float ("nan" ))
579
571
580
- # TODO: RUSTPYTHON
581
- @unittest .skipIf (sys .platform == "win32" , "Implement get_clock_info for Windows." )
582
572
def test_get_clock_info (self ):
583
573
clocks = ['monotonic' , 'perf_counter' , 'process_time' , 'time' ]
584
574
0 commit comments