From 59d328891228cfd8aa645e7f6ee6e760cf724268 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 3 Mar 2022 13:35:01 +0100 Subject: [PATCH] python3Packages.aiohttp: disable tests causing warnings with pytest>=7.0 --- pkgs/development/python-modules/aiohttp/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index f6d9b5d97ec7..660e205fb482 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -75,6 +75,10 @@ buildPythonPackage rec { "test_client_session_timeout_zero" "test_mark_formdata_as_processed" "test_requote_redirect_url_default" + # Disable tests that trigger deprecation warnings in pytest + "test_async_with_session" + "test_session_close_awaitable" + "test_close_run_until_complete_not_deprecated" ] ++ lib.optionals stdenv.is32bit [ "test_cookiejar" ] ++ lib.optionals stdenv.isDarwin [