##// 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:

r23265:8eaae94d
r23973:0fdcb43a
Show More
appveyor.yml
31 lines | 759 B | text/x-yaml | YamlLexer
build: false
matrix:
fast_finish: true # immediately finish build once one of the jobs fails.
environment:
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python33-x64"
PYTHON_VERSION: "3.3.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "%CMD_IN_ENV% pip install setuptools>=18.5 --upgrade"
- "%CMD_IN_ENV% pip install nose coverage"
- "%CMD_IN_ENV% pip install .[test]"
- "%CMD_IN_ENV% mkdir results"
- "%CMD_IN_ENV% cd results"
test_script:
- "%CMD_IN_ENV% iptest --coverage xml"