From 25251762f7bdb352b8917f94862329edd9f5c6b4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 25 Apr 2022 11:05:58 +0200 Subject: [PATCH] python3Packages.aiohttp-remotes: set pytest flags --- pkgs/development/python-modules/aiohttp-remotes/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/aiohttp-remotes/default.nix b/pkgs/development/python-modules/aiohttp-remotes/default.nix index be33becb26c..4b150b9edea 100644 --- a/pkgs/development/python-modules/aiohttp-remotes/default.nix +++ b/pkgs/development/python-modules/aiohttp-remotes/default.nix @@ -41,6 +41,12 @@ buildPythonPackage rec { "aiohttp_remotes" ]; + pytestFlagsArray = [ + "-W" + "ignore::DeprecationWarning" + "--asyncio-mode=auto" + ]; + meta = with lib; { description = "Set of useful tools for aiohttp.web server"; homepage = "https://github.com/wikibusiness/aiohttp-remotes";