diff options
Diffstat (limited to 'dev-python/pytest-asyncio')
-rw-r--r-- | dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch | 12 | ||||
-rw-r--r-- | dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild | 6 |
2 files changed, 17 insertions, 1 deletions
diff --git a/dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch b/dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch new file mode 100644 index 000000000000..50f1c9f2d168 --- /dev/null +++ b/dev-python/pytest-asyncio/files/pytest-asyncio-0.15.1-310-test-warnings.patch @@ -0,0 +1,12 @@ +diff --git a/setup.cfg b/setup.cfg +index 0161086..047501c 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -8,6 +8,7 @@ show_missing = true + addopts = -rsx --tb=short + testpaths = tests + filterwarnings = error ++ ignore::DeprecationWarning + + [metadata] + # ensure LICENSE is included in wheel metadata diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild index 60f1a55ba4e7..eef2f9adf10d 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.15.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 @@ -23,4 +23,8 @@ BDEPEND=" >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] )" +PATCHES=( + "${FILESDIR}/${P}-310-test-warnings.patch" +) + distutils_enable_tests --install pytest |