mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
gh-112192: Increase the trace module coverage precision to one decimal (#126972)
This commit is contained in:
parent
dabcecfd6d
commit
12397a5781
4 changed files with 7 additions and 7 deletions
|
|
@ -1138,7 +1138,7 @@ class ArgsTestCase(BaseTestCase):
|
|||
output = self.run_tests("--coverage", test)
|
||||
self.check_executed_tests(output, [test], stats=1)
|
||||
regex = (r'lines +cov% +module +\(path\)\n'
|
||||
r'(?: *[0-9]+ *[0-9]{1,2}% *[^ ]+ +\([^)]+\)+)+')
|
||||
r'(?: *[0-9]+ *[0-9]{1,2}\.[0-9]% *[^ ]+ +\([^)]+\)+)+')
|
||||
self.check_line(output, regex)
|
||||
|
||||
def test_wait(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue