From 515b21913f15c00a6bc845334bee2d674bec110314282fc9b6c0e70937bf9779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 24 May 2021 12:12:20 +0000 Subject: [PATCH] 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 --- python-gast.changes | 5 +++++ python-gast.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-gast.changes b/python-gast.changes index df60807..cfc81d0 100644 --- a/python-gast.changes +++ b/python-gast.changes @@ -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 diff --git a/python-gast.spec b/python-gast.spec index 2e633eb..27d10c2 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -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}/*