Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2020-06-05 20:00:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyparsing.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyparsing"

Fri Jun  5 20:00:35 2020 rev:38 rq:811049 version:2.4.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes        
2020-05-07 15:06:12.659799550 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.3606/python-pyparsing.changes  
    2020-06-05 20:00:42.932039279 +0200
@@ -1,0 +2,5 @@
+Wed Jun  3 08:31:39 UTC 2020 - [email protected]
+
+- unittest2 -> pytest
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyparsing.spec ++++++
--- /var/tmp/diff_new_pack.haoovu/_old  2020-06-05 20:00:44.592044724 +0200
+++ /var/tmp/diff_new_pack.haoovu/_new  2020-06-05 20:00:44.596044738 +0200
@@ -27,6 +27,7 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%bcond_without python2
 Name:           python-pyparsing%{psuffix}
 Version:        2.4.7
 Release:        0
@@ -39,7 +40,7 @@
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 %if %{with test}
-BuildRequires:  %{python_module unittest2}
+BuildRequires:  %{python_module pytest}
 %endif
 %ifpython2
 Provides:       %{oldpython}-parsing = %{version}
@@ -74,12 +75,7 @@
 
 %check
 %if %{with test}
-%{python_expand export PYTHONPATH=.
-# unittest from Python 2.7 doesn't load tests correctly
-# no work simple_unit_tests.py examples.antlr_grammar_tests
-$python -munittest2 -v examples.test_bibparse
-$python unitTests.py
-}
+%pytest
 %endif
 
 %if ! %{with test}


Reply via email to