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

Function additional_output_checks

tests_python/test_debugger.py:1404–1411  ·  view source on GitHub ↗
(stdout, stderr)

Source from the content-addressed store, hash-verified

1402 original_additional_output_checks = writer.additional_output_checks
1403
1404 def additional_output_checks(stdout, stderr):
1405 original_additional_output_checks(stdout, stderr)
1406 if "On start called" not in stdout:
1407 raise AssertionError('Expected "On start called" to be in stdout:\n%s' % (stdout,))
1408 if "Done sleeping" not in stdout:
1409 raise AssertionError('Expected "Done sleeping" to be in stdout:\n%s' % (stdout,))
1410 if "native Qt signal is not callable" in stderr:
1411 raise AssertionError('Did not expect "native Qt signal is not callable" to be in stderr:\n%s' % (stderr,))
1412
1413 breakpoint_id = writer.write_add_breakpoint(28, "on_start") # breakpoint on print('On start called2').
1414 writer.write_make_initial_run()

Callers

nothing calls this directly

Calls 2

is_stderr_okFunction · 0.85
make_error_msgFunction · 0.85

Tested by

no test coverage detected