diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml index b04e261b9a635..a10b912fda5ca 100644 --- a/dev/tasks/tasks.yml +++ b/dev/tasks/tasks.yml @@ -1241,7 +1241,7 @@ tasks: params: env: PYTHON: "{{ python_version }}" - PYTEST_ARGS: "-W error -W 'ignore:Setting custom ClientSession:DeprecationWarning'" + PYTEST_ARGS: "-W error -W ignore:Setting custom ClientSession:DeprecationWarning" image: conda-python {% endfor %}