From 9f8d55870d8af49e1afb490fab2cc3927be6e036 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 16 Aug 2022 10:57:02 +0200 Subject: [PATCH] gnu: python-aiohttp: Disable tests that fail with Pytest 7. * gnu/packages/python-web.scm (python-aiohttp)[arguments]: Ignore three tests. --- gnu/packages/python-web.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 59a3ee516d..d060d5b27c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -363,6 +363,13 @@ (define-public python-aiohttp ;; This test probably requires to be run with the ;; library loaded from the the build directory. "not test_c_parser_loaded and " + ;; TODO: These tests fail with recent versions of Pytest + ;; and the fix is difficult to backport: + ;; https://github.com/aio-libs/aiohttp/pull/6872 + ;; Re-enable after 3.9. + "not test_session_close_awaitable and " + "not test_async_with_session and " + "not test_close_run_until_complete_not_deprecated and " ;; Disable the following tests as they require ;; networking. "not TestDeflateBuffer and "