Hello community,

here is the log from the commit of package python-pytest-instafail for 
openSUSE:Factory checked in at 2020-03-05 23:22:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-instafail (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-instafail.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-instafail"

Thu Mar  5 23:22:38 2020 rev:7 rq:781769 version:0.4.1.post0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-instafail/python-pytest-instafail.changes
  2019-11-18 20:09:42.601612834 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-instafail.new.26092/python-pytest-instafail.changes
       2020-03-05 23:22:45.481326616 +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.QBZgBi/_old  2020-03-05 23:22:46.133326974 +0100
+++ /var/tmp/diff_new_pack.QBZgBi/_new  2020-03-05 23:22:46.133326974 +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