mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Whitespace normalization.
This commit is contained in:
parent
0822ff7cca
commit
0eadaac7dc
39 changed files with 127 additions and 144 deletions
|
|
@ -268,7 +268,7 @@ class CoverageResults:
|
|||
coverpath = os.path.join(dir, modulename + ".cover")
|
||||
n_hits, n_lines = self.write_results_file(coverpath, source,
|
||||
lnotab, count)
|
||||
|
||||
|
||||
if summary and n_lines:
|
||||
percent = int(100 * n_hits / n_lines)
|
||||
sums[modulename] = n_lines, percent, modulename, filename
|
||||
|
|
@ -467,7 +467,7 @@ class Trace:
|
|||
|
||||
def globaltrace_countfuncs(self, frame, why, arg):
|
||||
"""Handler for call events.
|
||||
|
||||
|
||||
Adds (filename, modulename, funcname) to the self._calledfuncs dict.
|
||||
"""
|
||||
if why == 'call':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue