Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ecdd2 commit 391166fCopy full SHA for 391166f
1 file changed
Lib/test/test_time.py
@@ -331,13 +331,13 @@ def test_mktime_error(self):
331
pass
332
self.assertEqual(time.strftime('%Z', tt), tzname)
333
334
-
335
def test_wallclock(self):
336
t0 = time.wallclock()
337
time.sleep(0.1)
338
t1 = time.wallclock()
339
t = t1 - t0
340
- self.assertAlmostEqual(t, 0.1, places=2)
+ self.assertAlmostEqual(t, 0.1, delta=0.2)
+
341
342
class TestLocale(unittest.TestCase):
343
def setUp(self):
0 commit comments