summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_time.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py
index ede85b7..1597ac1 100644
--- a/Lib/test/test_time.py
+++ b/Lib/test/test_time.py
@@ -331,13 +331,13 @@ class TimeTestCase(unittest.TestCase):
pass
self.assertEqual(time.strftime('%Z', tt), tzname)
-
def test_wallclock(self):
t0 = time.wallclock()
time.sleep(0.1)
t1 = time.wallclock()
t = t1 - t0
- self.assertAlmostEqual(t, 0.1, places=2)
+ self.assertAlmostEqual(t, 0.1, delta=0.2)
+
class TestLocale(unittest.TestCase):
def setUp(self):