fish-shell/build_tools
ridiculousfish cfbebb7201 Better support for helper functions in pexpect
When a pexpect test fails, it reports the "failing line." Prior to this
commit, it did so by walking up the Python call stack, looking for
the first frame which is not in the pexpect_helper module, and so presumably
in the test itself. However sometimes the test wants to define a helper
function; then if the test fails the helper function is reported as the
failing line, not the callsite of the helper.

Fix this by skipping functions which have the `callsite_skip` attribute set.

Nothing to relnote here.
2022-04-10 12:59:04 -07:00
..
2022-01-26 13:51:45 -08:00
2021-09-15 17:49:57 +02:00
2016-05-29 22:24:29 -07:00
2021-08-30 17:16:19 +02:00