Tests: Make "Traceback did not match" an actual f-string
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Otherwise the failure looks like this: > assert ( m is not None ), "Traceback did not match:\n\n{''.join(tb)}\nexpected:\n{expected_tb}" E AssertionError: Traceback did not match: E E {''.join(tb)} E expected: E {expected_tb} E assert None is not None
authored by Miro Hrončok · committed by GitHub · parent 15f02c4 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- tests:+1 added−1 removed