You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but see pytest-dev/pytest#10436 for a warning about this approach. For the second, I've done this:
--- a/tests/pytest_hooks.py +++ b/tests/pytest_hooks.py @@ -61,4 +61,4 @@
# we want to print the pydevd log as well. This is not a normal pytest hook - \
we
# just detour pytest_timeout.dump_stacks directly.
_dump_stacks = pytest_timeout.dump_stacks
-pytest_timeout.dump_stacks = lambda: (_dump_stacks(), logs.dump()) +pytest_timeout.dump_stacks = lambda term: (_dump_stacks(term), logs.dump())
The text was updated successfully, but these errors were encountered:
pytest-timeout version 2.3.0 has changed two internal functions that debugpy uses in its tests:
write_title()
has been removed (used intests/logs.py
)dump_stacks()
now takes an argument (terminal
)I have addressed the first one in Debian in a hackish way:
but see pytest-dev/pytest#10436 for a warning about this approach. For the second, I've done this:
The text was updated successfully, but these errors were encountered: