Merge pull request #4408 from blueyed/default-invalid-escape-sequence

tox.ini: do not cause SyntaxWarning with py37  [ci skip]
This commit is contained in:
Daniel Hahler 2018-11-17 20:08:37 +01:00 committed by GitHub
commit 7f990e2b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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