Accepting request 998760 from devel:languages:python:mailman

OBS-URL: https://build.opensuse.org/request/show/998760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mailmanclient?expand=0&rev=10
This commit is contained in:
2022-08-23 12:29:56 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 20 20:38:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Force pytest-asyncio auto mode -- 0.19.0 changed the default
* https://github.com/pytest-dev/pytest-asyncio#modes
-------------------------------------------------------------------
Mon Jul 4 10:44:31 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -72,7 +72,10 @@ export LC_ALL=C.UTF-8
# self.socket.send(msg)
# OSError: [Errno 9] Bad file descriptor
export LC_ALL=C.UTF-8
%pytest -k 'not using.rst'
%if %{pkg_vcmp python3-pytest-asyncio >= 0.19}
asynciomode="--asyncio-mode=auto"
%endif
%pytest -k 'not using.rst' $asynciomode
%files %{python_files}
%doc README.rst