all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob a209921025ff8bebf808bd1f7339a137d6feba62 527 bytes (raw)
name: gnu/packages/patches/python-docrepr-fix-tests.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
Fixes the errors with use of asyncio in docrepr/tests/test_output.py:
     
>       await compare_screenshots(test_id, url)
E       TypeError: 'coroutine' object is not callable

--- a/conftest.py
+++ b/conftest.py
@@ -65,7 +65,7 @@ def _open_browser(url):
 
 
 @pytest.fixture
-async def compare_screenshots(request):
+def compare_screenshots(request):
     """Run visual regression test on the output."""
     async def _compare_screenshots(test_id, url):
         if (request.config.getoption(COMPARE_SCREENSHOTS_OPTION) or

debug log:

solving a209921025 ...
found a209921025 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.