From 35a9daa94297e846501c3796adc2300e112f16b04e6fcac8b3360610abaa24e2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 22 Oct 2021 10:09:47 +0000 Subject: [PATCH] - Use pyunittest macro instead of the home-grown solution. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=18 --- python-python-magic.changes | 5 +++++ python-python-magic.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-python-magic.changes b/python-python-magic.changes index d25ae01..d1a76fc 100644 --- a/python-python-magic.changes +++ b/python-python-magic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 22 10:09:21 UTC 2021 - Matej Cepl + +- Use pyunittest macro instead of the home-grown solution. + ------------------------------------------------------------------- Fri Oct 22 08:02:27 UTC 2021 - Martin Liška diff --git a/python-python-magic.spec b/python-python-magic.spec index e700aa5..b24983b 100644 --- a/python-python-magic.spec +++ b/python-python-magic.spec @@ -76,7 +76,7 @@ supports both textual and MIME-type output. %check export LC_ALL=en_US.UTF-8 -%python_expand PYTHONPATH=. $python test/test.py +%pyunittest -v test.test %files %{python_files} %license LICENSE