tox.ini: do not cause SyntaxWarning with py37 [ci skip]

Do not cause a SyntaxError for something like:

> DeprecationWarning: invalid escape sequence \w

This was happening via pdb++ when it imported pygments (and that had no
compiled .pyc file).
This commit is contained in:
Daniel Hahler 2018-11-17 11:49:04 +01:00
parent 9dec146edf
commit 084c36d538
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,8 @@ filterwarnings =
ignore:.*inspect.getargspec.*deprecated, use inspect.signature.*:DeprecationWarning
# pytest's own futurewarnings
ignore::pytest.PytestExperimentalApiWarning
# Do not cause SyntaxError for invalid escape sequences in py37.
default:invalid escape sequence:DeprecationWarning
pytester_example_dir = testing/example_scripts
[flake8]
max-line-length = 120