##// END OF EJS Templates
Silence tokenization errors in ultratb....
Silence tokenization errors in ultratb. Currently, the ultratb module attempts to tokenize the code it finds in tracebacks, and issues a scary-sounding warnings about potentially invalid tracebacks if it fails. However, this tokenization is known to fail in some cases, notably if the reported error line is the terminating line of a multiline, triple-quoted string literal. This change fixes the issue by switching this to a `logging.debug` message, which silences it by default without completely removing it for debugging purposes. Fixes #6864.

File last commit:

r22722:622b6cfa
r23973:0fdcb43a
Show More
codecov.yml
9 lines | 136 B | text/x-yaml | YamlLexer
coverage:
status:
project:
default:
target: auto
threshold: 10
patch:
default:
target: 0%