Merge in the data from another CoverageResults
(self, other)
| 183 | return filename.startswith('<') and filename.endswith('>') |
| 184 | |
| 185 | def update(self, other): |
| 186 | """Merge in the data from another CoverageResults""" |
| 187 | counts = self.counts |
| 188 | calledfuncs = self.calledfuncs |
| 189 | callers = self.callers |
| 190 | other_counts = other.counts |
| 191 | other_calledfuncs = other.calledfuncs |
| 192 | other_callers = other.callers |
| 193 | |
| 194 | for key in other_counts: |
| 195 | counts[key] = counts.get(key, 0) + other_counts[key] |
| 196 | |
| 197 | for key in other_calledfuncs: |
| 198 | calledfuncs[key] = 1 |
| 199 | |
| 200 | for key in other_callers: |
| 201 | callers[key] = 1 |
| 202 | |
| 203 | def write_results(self, show_missing=True, summary=False, coverdir=None, *, |
| 204 | ignore_missing_files=False): |
no test coverage detected