diff options
author | RUANG (James Roy) <longjinyii@outlook.com> | 2024-12-03 22:33:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-03 22:33:13 (GMT) |
commit | 12397a5781664bf43da98454db07cdfdec3ab815 (patch) | |
tree | c9b6b1c279e4f71a73e2807f71f403ed59008850 /Lib/test/test_regrtest.py | |
parent | dabcecfd6dadb9430733105ba36925b290343d31 (diff) | |
download | cpython-12397a5781664bf43da98454db07cdfdec3ab815.zip cpython-12397a5781664bf43da98454db07cdfdec3ab815.tar.gz cpython-12397a5781664bf43da98454db07cdfdec3ab815.tar.bz2 |
gh-112192: Increase the trace module coverage precision to one decimal (#126972)
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r-- | Lib/test/test_regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index d4f4a69..0ab7a23 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -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): |