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