Skip to content

Commit

Permalink
Disable deprecation warnings in asynctest
Browse files Browse the repository at this point in the history
Longer term, we may need to use a different framework to test this, it's
unclear to me if asynctest is continuing to see updates:

Martiusweb/asynctest#158
  • Loading branch information
abadger committed Jan 11, 2021
1 parent ad51b91 commit cc6ab10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-pytest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
set -e
poetry run python -m pytest --cov-branch --cov=antsibull --cov=sphinx_antsibull_ext --cov-report term-missing -vv tests "$@"
poetry run python -W 'ignore:"@coroutine" decorator is deprecated::asynctest.case' \
-m pytest --cov-branch --cov=antsibull --cov=sphinx_antsibull_ext --cov-report term-missing -vv tests "$@"

0 comments on commit cc6ab10

Please sign in to comment.