From 3a5866392d0176306fb2e6f05a221f6bb4a84f2012905e1a22904e1586cf05ab Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 10 Sep 2021 09:00:07 +0000 Subject: [PATCH] Accepting request 917858 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/917858 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astunparse?expand=0&rev=11 --- python-astunparse.changes | 5 +++++ python-astunparse.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-astunparse.changes b/python-astunparse.changes index d08721b..a77e1a3 100644 --- a/python-astunparse.changes +++ b/python-astunparse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 10 05:23:39 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sun Apr 18 12:03:07 UTC 2021 - Ben Greiner diff --git a/python-astunparse.spec b/python-astunparse.spec index 1b964d1..913fb12 100644 --- a/python-astunparse.spec +++ b/python-astunparse.spec @@ -61,7 +61,7 @@ Added to this is a pretty-printing dump utility function. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %doc AUTHORS.rst README.rst HISTORY.rst