From: Debian Science Team Date: Wed, 26 Aug 2020 21:34:50 +0000 (+0100) Subject: Disable pytest_asyncio X-Git-Tag: archive/raspbian/1.0.5+dfsg-3+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=17cb0842b1cd6b44cd2b57217cb32070fa3aa0c2;p=pandas.git Disable pytest_asyncio Debian currently has incompatible versions of pytest_asyncio and pytest, causing these tests to error on collection. Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/969050 Forwarded: not-needed https://github.com/pandas-dev/pandas/pull/35757 Gbp-Pq: Name disable_pytest_asyncio.patch --- diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py index eb0f8022..5f40d2c4 100644 --- a/pandas/util/_test_decorators.py +++ b/pandas/util/_test_decorators.py @@ -255,10 +255,6 @@ def check_file_leaks(func) -> Callable: def async_mark(): - try: - import_optional_dependency("pytest_asyncio") - async_mark = pytest.mark.asyncio - except ImportError: - async_mark = pytest.mark.skip(reason="Missing dependency pytest-asyncio") + async_mark = pytest.mark.skip(reason="https://bugs.debian.org/969050") return async_mark