mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Use \d in regexp in TestDecorators.test_timeit2()
This commit is contained in:
parent
deac09d2c1
commit
9631c314dd
1 changed files with 1 additions and 1 deletions
|
|
@ -45,4 +45,4 @@ class TestDecorators(unittest.TestCase):
|
|||
return 42
|
||||
|
||||
self.assertEqual(f(), 42)
|
||||
self.assertRegex(log.getvalue(), r"f took 1\.0. seconds")
|
||||
self.assertRegex(log.getvalue(), r"f took 1\.0\d seconds")
|
||||
|
|
|
|||
Loading…
Reference in a new issue