~ruther/guix-local

ref: ce086e31f0f5c78be76fd228dfd7718ff6df584e guix-local/gnu/packages/patches/python-docrepr-fix-tests.patch -rw-r--r-- 527 bytes
ce086e31 — Guillaume Le Vaillant gnu: cl-gtk4: Update to 1.0.0-2.c05d03e. 1 year, 7 months ago
                                                                                
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