Skip to content

Commit d5b568b

Browse files
committed
Ignore "The loop argument is deprecated" warning
The loop argument is deprecated, but according to reviewers we still want to use it. Configuring this in pytest.ini makes AppVeyor and Travis consistent again.
1 parent 69a4d57 commit d5b568b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ test_script:
2626
- "cd empty"
2727
# Make sure it's being imported from where we expect
2828
- "python -c \"import os, trio_asyncio; print(os.path.dirname(trio_asyncio.__file__))\""
29-
- "python -u -m pytest -W error -ra -v -s --cov=trio_asyncio --cov-config=../.coveragerc ../tests"
29+
- "python -u -m pytest -ra -v -s --cov=trio_asyncio --cov-config=../.coveragerc ../tests"
3030
- "codecov"

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ max-line-length=99
55
ignore=E402,E731,E127,E502,E123,W503
66
[tool:pytest]
77
addopts = -p no:asyncio
8+
filterwarnings =
9+
error
10+
ignore:The loop argument is deprecated*:DeprecationWarning

0 commit comments

Comments
 (0)