mbakke pushed a commit to branch master
in repository guix.
commit 9f8d55870d8af49e1afb490fab2cc3927be6e036
Author: Marius Bakke <[email protected]>
AuthorDate: Tue Aug 16 10:57:02 2022 +0200
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 @@ for adding, removing and dropping callbacks.")
;; 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 "