Skip to content

Commit 17cb084

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
Disable pytest_asyncio
Debian currently has incompatible versions of pytest_asyncio and pytest, causing these tests to error on collection. Author: Rebecca N. Palmer <[email protected]> Bug-Debian: https://bugs.debian.org/969050 Forwarded: not-needed pandas-dev/pandas#35757 Gbp-Pq: Name disable_pytest_asyncio.patch
1 parent d212de6 commit 17cb084

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pandas/util/_test_decorators.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,6 @@ def new_func(*args, **kwargs):
255255

256256

257257
def async_mark():
258-
try:
259-
import_optional_dependency("pytest_asyncio")
260-
async_mark = pytest.mark.asyncio
261-
except ImportError:
262-
async_mark = pytest.mark.skip(reason="Missing dependency pytest-asyncio")
258+
async_mark = pytest.mark.skip(reason="https://bugs.debian.org/969050")
263259

264260
return async_mark

0 commit comments

Comments
 (0)