def check(self, wanted_t, wanted_b):
        for t, b in self.debug_entries:
            if t == wanted_t and wanted_b in b:
                return
        assert False, "%d: %s not found in debug entries\nEntries are:\n%s" % \
            (wanted_t, wanted_b, repr(self.debug_entries))
dataset/ETHPy150Open cloudaice/simple-data/misc/virtenv/share/doc/pycurl/tests/debug_test.py/DebugTest.check/original