MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / notifyTest

Method notifyTest

tests_runfiles/test_runfiles.py:326–339  ·  view source on GitHub ↗
(self, cond, captured_output, error_contents, file, test, time)

Source from the content-addressed store, hash-verified

324 pass
325
326 def notifyTest(self, cond, captured_output, error_contents, file, test, time):
327 try:
328 # I.e.: when marked as Binary in xml-rpc
329 captured_output = captured_output.data
330 except:
331 pass
332 try:
333 # I.e.: when marked as Binary in xml-rpc
334 error_contents = error_contents.data
335 except:
336 pass
337 if error_contents:
338 error_contents = error_contents.splitlines()[-1].strip()
339 self.notifications.append(("notifyTest", cond, captured_output.strip(), error_contents, file, test))
340
341 def notifyTestRunFinished(self, total_time):
342 self.notifications.append(("notifyTestRunFinished",))

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected