Tomáš Chvátal 2020-03-09 09:37:30 +00:00 committed by Git OBS Bridge
parent ba4f6290aa
commit fb439f2b85
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 9 09:37:18 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix test run on python 3.8+
-------------------------------------------------------------------
Wed Feb 13 13:14:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-asyncio
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,6 @@ Version: 0.10.0
Release: 0
Summary: Pytest support for asyncio
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-asyncio
Source: https://github.com/pytest-dev/pytest-asyncio/archive/v%{version}.tar.gz#./pytest-asyncio-%{version}.tar.gz
BuildRequires: %{python_module async_generator >= 1.3}
@ -55,7 +54,9 @@ sed -ie '1i# -*- coding: utf-8 -*-' setup.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m pytest
# remove pytest config to not error out on deprecations
rm setup.cfg
%pytest
%files %{python_files}
%doc README.rst