Skip to content

Conversation

@CyberiaResurrection
Copy link
Collaborator

As at the status quo, stack traversal terminates when hitting a file with 'pytest' or 'hammett' in the path, but blithely carries on if a file has 'unittest' in the path, despite that being the unittest framework.

The simple fix to that is to also bail out if 'unittest' is in the current frame's filename.

As at the status quo, stack traversal terminates when
hitting a file with 'pytest' or 'hammett' in the path,
but blithely carries on if a file has 'unittest' in
the path, despite that being the unittest framework.

The simple fix to that is to also bail out if
'unittest' is in the current frame's filename.
@boxed boxed merged commit d908ad5 into boxed:main Aug 12, 2025
5 checks passed
@boxed
Copy link
Owner

boxed commented Aug 12, 2025

Thanks!

@CyberiaResurrection CyberiaResurrection deleted the UnittestInTrampolineHit branch August 12, 2025 06:39
@CyberiaResurrection
Copy link
Collaborator Author

No problem, figured I would start with very small, self-contained PRs first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants