Hello community,

here is the log from the commit of package python-pytest-instafail for 
openSUSE:Leap:15.2 checked in at 2020-03-09 18:13:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-instafail (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pytest-instafail.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-instafail"

Mon Mar  9 18:13:12 2020 rev:8 rq:782113 version:0.4.1.post0

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-pytest-instafail/python-pytest-instafail.changes
        2020-02-23 16:47:44.498351823 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-pytest-instafail.new.26092/python-pytest-instafail.changes
     2020-03-09 18:13:52.825397201 +0100
@@ -1,0 +2,6 @@
+Thu Mar  5 08:24:53 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add patch fixing testing with new pytest:
+  * pytest5.patch
+
+-------------------------------------------------------------------

New:
----
  pytest5.patch

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

Other differences:
------------------
++++++ python-pytest-instafail.spec ++++++
--- /var/tmp/diff_new_pack.kHjr67/_old  2020-03-09 18:13:53.417397488 +0100
+++ /var/tmp/diff_new_pack.kHjr67/_new  2020-03-09 18:13:53.417397488 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-instafail
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,9 +22,9 @@
 Release:        0
 Summary:        Pytest Plugin to Show Failures Instantly
 License:        BSD-2-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/jpvanhal/pytest-instafail
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
+Patch0:         pytest5.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -42,6 +42,7 @@
 
 %prep
 %setup -q -n pytest-instafail-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -52,7 +53,7 @@
 
 %check
 export PYTHONDONTWRITEBYTECODE=1
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
+%pytest
 
 %files %{python_files}
 %doc CHANGES.rst README.rst

++++++ pytest5.patch ++++++
Index: pytest-instafail-0.4.1.post0/test_instafail.py
===================================================================
--- pytest-instafail-0.4.1.post0.orig/test_instafail.py
+++ pytest-instafail-0.4.1.post0/test_instafail.py
@@ -241,7 +241,7 @@ class TestInstafailingTerminalReporter(o
         ])
         if not option.quiet:
             result.stdout.fnmatch_lines([
-                "collected 0 items / 1 errors",
+                "collected 0 items / 1 error*",
             ])
 
     def test_print_stacktrace_once_with_pdb(self, testdir, request, option):

Reply via email to