diff --git a/src/mapply/mapply.py b/src/mapply/mapply.py index e4dfe22..cb17742 100644 --- a/src/mapply/mapply.py +++ b/src/mapply/mapply.py @@ -44,6 +44,7 @@ """ from __future__ import annotations +import warnings from functools import partial from typing import Any, Callable @@ -54,6 +55,13 @@ DEFAULT_MAX_CHUNKS_PER_WORKER = 8 +warnings.filterwarnings( + action="ignore", + message=".*swapaxes", + category=FutureWarning, +) + + def _choose_n_chunks( shape: tuple[int, ...], axis: int,