Improves error message when path does not exist #12151
Labels
topic: reporting
related to terminal output and user-facing messages and errors
topic: rewrite
related to the assertion rewrite mechanism
When checking
assert path.exists()
, the output error message becomes very long. Could this be cleaned up and shortened somehow?test source code:
output:
The text was updated successfully, but these errors were encountered: