Skip to content

Conversation

@chbndrhnns
Copy link
Contributor

Parse complete pytest output

Pytest’s “long” traceback format inserts a separator line composed of underscores (_ _ _ _ _ ...).
The TeamCity pytest plugin (helpers/pycharm/teamcity/pytest_plugin.py) truncated the failure output at the first occurrence of this separator:
In real pytest output, everything after that separator may include the crucial frames that point at the actual failing assert (especially when the assert lives in a helper function). This truncation hides the important part of the traceback in the IDE.
@BartvHelvert BartvHelvert added the PyCharm Pull requests for PyCharm label Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PyCharm Pull requests for PyCharm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants