mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Merge pull request #657 from pacenathan/MacTimingTest
Make timing test more tolerant
This commit is contained in:
commit
fd6f4a0160
1 changed files with 1 additions and 1 deletions
|
|
@ -45,4 +45,4 @@ class TestDecorators(unittest.TestCase):
|
|||
return 42
|
||||
|
||||
self.assertEqual(f(), 42)
|
||||
self.assertEqual(log.getvalue(), "f took 1.00 seconds\n()\n{}\n")
|
||||
self.assertRegex(log.getvalue(), r"f took 1\.0. seconds")
|
||||
|
|
|
|||
Loading…
Reference in a new issue