From 17cb0842b1cd6b44cd2b57217cb32070fa3aa0c2 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Wed, 26 Aug 2020 22:34:50 +0100 Subject: [PATCH] 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 --- pandas/util/_test_decorators.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.30.2