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}/*