Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2020-08-17 16:41:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyshould (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyshould.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyshould"

Mon Aug 17 16:41:34 2020 rev:5 rq:827347 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2020-08-17 14:40:09.042576564 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyshould.new.3399/python-pyshould.changes    
    2020-08-17 16:41:56.737828758 +0200
@@ -1,0 +2,6 @@
+Mon Aug 17 12:38:29 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Don't force pytest, when the easiest way is just to follow
+  the flow and go with the unittest runner.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyshould.spec ++++++
--- /var/tmp/diff_new_pack.PbgoDL/_old  2020-08-17 16:41:58.481829528 +0200
+++ /var/tmp/diff_new_pack.PbgoDL/_new  2020-08-17 16:41:58.485829531 +0200
@@ -33,7 +33,6 @@
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module hamcrest}
-BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 
@@ -54,8 +53,6 @@
 %prep
 %setup -q -n %{modname}-%{version}
 sed -i '/nose/d' setup.py
-# Remove __init__.py to help 15.x
-rm tests/__init__.py
 
 %build
 %python_build
@@ -68,7 +65,10 @@
 }
 
 %check
-%pytest tests/*.py
+# %%pyunittest is still not available in TW, so we have to expand it manually
+%{python_expand export PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitelib} 
PYTHONDONTWRITEBYTECODE=1
+$python -munittest -v
+}
 
 %files %{python_files}
 %doc README.md


Reply via email to