Accepting request 895158 from home:pgajdos:python

- %check: use %pyunittest macro

OBS-URL: https://build.opensuse.org/request/show/895158
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gast?expand=0&rev=10
This commit is contained in:
Markéta Machová 2021-05-24 12:12:20 +00:00 committed by Git OBS Bridge
parent e67873c8d4
commit 515b21913f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 24 11:41:36 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest macro
-------------------------------------------------------------------
Wed Aug 26 06:01:54 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-gast
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -51,7 +51,7 @@ as produced by ``ast.parse`` from the standard ``ast`` module.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v tests
%files %{python_files}
%{python_sitelib}/*