diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-06-12 21:04:11 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-06-12 21:04:11 (GMT) |
commit | 6222d76952c42ec6b7134b51bf242d41a0b972bd (patch) | |
tree | c8b46d72ec711a8dfaf47332648090dd0086986d /Lib | |
parent | 2b89fdf7eb17b5ca3928aa3c2f6552e79386c677 (diff) | |
download | cpython-6222d76952c42ec6b7134b51bf242d41a0b972bd.zip cpython-6222d76952c42ec6b7134b51bf242d41a0b972bd.tar.gz cpython-6222d76952c42ec6b7134b51bf242d41a0b972bd.tar.bz2 |
Fix test_time for adjusted/adjustable changes
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_time.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index bd72af5..9ea8f0c 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -31,8 +31,7 @@ class TimeTestCase(unittest.TestCase): time.time() info = time.get_clock_info('time') self.assertFalse(info.monotonic) - if sys.platform != 'win32': - self.assertTrue(info.adjustable) + self.assertTrue(info.adjustable) def test_clock(self): time.clock() @@ -371,10 +370,7 @@ class TimeTestCase(unittest.TestCase): info = time.get_clock_info('monotonic') self.assertTrue(info.monotonic) - if sys.platform == 'linux': - self.assertTrue(info.adjustable) - else: - self.assertFalse(info.adjustable) + self.assertFalse(info.adjustable) def test_perf_counter(self): time.perf_counter() |