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

Function check_error_msg

tests_python/test_debugger.py:200–208  ·  view source on GitHub ↗
(stderr)

Source from the content-addressed store, hash-verified

198 writer.write_make_initial_run()
199
200 def check_error_msg(stderr):
201 for msg in msgs_in_stderr:
202 assert msg in stderr
203
204 for msg in msgs_one_in_stderr:
205 if msg in stderr:
206 break
207 else:
208 raise AssertionError("Did not find any of: %s in stderr: %s" % (msgs_one_in_stderr, stderr))
209
210 if expect_print:
211 msg, ctx = writer.wait_for_output()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected