Skip to content
Snippets Groups Projects
Commit c27b8ee2 authored by Chih-Hsuan Yen's avatar Chih-Hsuan Yen
Browse files

python-anyio: drop out-dated hack

parent 093589ad
No related branches found
No related tags found
No related merge requests found
......@@ -25,12 +25,6 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
prepare() {
cd anyio-$pkgver
# pytest-mock 3.3 comes with an API change [1], and anyio uses the new API,
# while python-pytest-mock in Arch is out-dated. Patch the sources to use
# the old API.
# [1] https://github.com/pytest-dev/pytest-mock/issues/202
sed -i 's#MockerFixture#MockFixture#' tests/test_eventloop.py
# Work around https://bugs.python.org/issue45097
patch -Np1 -i ../bpo-45097.diff
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment