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:
parent
9dec146edf
commit
084c36d538
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue