MCPcopy Create free account
hub / github.com/apache/qpid-proton / __init__

Method __init__

tests/py/test_subprocess.py:38–43  ·  view source on GitHub ↗
(self, proc, what, output=None)

Source from the content-addressed store, hash-verified

36
37class TestProcessError(Exception):
38 def __init__(self, proc, what, output=None):
39 self.output = output
40 sep = "\n%s stderr(%s) %s\n" % ("_" * 32, proc.pid, "_" * 32)
41 error = sep + proc.error + sep if proc.error else ""
42 super(TestProcessError, self).__init__("%s pid=%s exit=%s: %s%s" % (
43 proc.cmd, proc.pid, proc.returncode, what, error))
44
45
46class Popen(subprocess.Popen):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected