diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-06-03 08:18:54 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-06-03 08:32:26 +0200 |
| commit | 742d5c3d68c8b83ef594a5aeb870e27255c3726a (patch) | |
| tree | e01c6676c54f41095362202d8aa9a838790a4844 /gnu/packages/patches/python-docrepr-fix-tests.patch | |
| parent | 52b4ce275fda390172fcce9797300ba0d5a89d59 (diff) | |
| parent | c11b92a8aae6fe7fad0da8257ec28f5009c37b35 (diff) | |
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/patches/python-docrepr-fix-tests.patch')
| -rw-r--r-- | gnu/packages/patches/python-docrepr-fix-tests.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-docrepr-fix-tests.patch b/gnu/packages/patches/python-docrepr-fix-tests.patch new file mode 100644 index 0000000000..a209921025 --- /dev/null +++ b/gnu/packages/patches/python-docrepr-fix-tests.patch @@ -0,0 +1,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 |
