| 1589 | # Backward compatibility cruft to maintain doctest.master. |
| 1590 | #///////////////////////////////////////////////////////////////// |
| 1591 | def merge(self, other): |
| 1592 | d = self._name2ft |
| 1593 | for name, (f, t) in other._name2ft.items(): |
| 1594 | if name in d: |
| 1595 | # Don't print here by default, since doing |
| 1596 | # so breaks some of the buildbots |
| 1597 | #print("*** DocTestRunner.merge: '" + name + "' in both" \ |
| 1598 | # " testers; summing outcomes.") |
| 1599 | f2, t2 = d[name] |
| 1600 | f = f + f2 |
| 1601 | t = t + t2 |
| 1602 | d[name] = f, t |
| 1603 | |
| 1604 | class OutputChecker: |
| 1605 | """ |