MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / merge

Method merge

tools/python-3.11.9-amd64/Lib/doctest.py:1591–1602  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

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
1604class OutputChecker:
1605 """

Callers 2

testmodFunction · 0.45
testfileFunction · 0.45

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected