summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-04-25 11:05:58 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-04-25 11:05:58 +0200
commit25251762f7bdb352b8917f94862329edd9f5c6b4 (patch)
tree4abfd1ff34d465ee2dccb1a6eb77d8f2647cf3eb
parenta6633d255f20f932b3eb45eac2b03719aeb4d2d0 (diff)
downloadnixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.tar
nixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.tar.gz
nixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.tar.bz2
nixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.tar.lz
nixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.tar.xz
nixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.tar.zst
nixpkgs-25251762f7bdb352b8917f94862329edd9f5c6b4.zip
python3Packages.aiohttp-remotes: set pytest flags
-rw-r--r--pkgs/development/python-modules/aiohttp-remotes/default.nix6
1 files changed, 6 insertions, 0 deletions
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";