diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-04 07:54:32 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-04 08:08:48 -0400 |
commit | a89f40e4c01fcb6c5a50eb42dc372454446693eb (patch) | |
tree | e685c92d7c57822e41c245b57f43a29a3fa36940 /coverage/files.py | |
parent | c7c32846ea2af9863fa921c5f5735ff3958b775f (diff) | |
download | python-coveragepy-git-a89f40e4c01fcb6c5a50eb42dc372454446693eb.tar.gz |
refactor(test): make traceback checks a bit flexible
Python 3.11 made a traceback look like this:
Traceback (most recent call last):
File "{path}", line 8, in <module>
print(sys.argv[1])
~~~~~~~~^^^
IndexError: list index out of range
We needed to not care if that tilde-caret line was present or not.
Diffstat (limited to 'coverage/files.py')
0 files changed, 0 insertions, 0 deletions