From 6b129d17c1433a5a40a84dccf6680f0c7afd30adcf0e60ca3ff7d0786f4233dd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 21 Nov 2019 12:38:50 +0000 Subject: [PATCH] compatibility with pytest 4+ officially. And of course, we don't have to massacre test files anymore. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=17 --- python-PyHamcrest.changes | 3 ++- python-PyHamcrest.spec | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python-PyHamcrest.changes b/python-PyHamcrest.changes index 99d82ab..d49d31e 100644 --- a/python-PyHamcrest.changes +++ b/python-PyHamcrest.changes @@ -3,7 +3,8 @@ Thu Nov 21 12:06:53 CET 2019 - Matej Cepl - Remove pytest4.patch and replace it with pytest4-02.patch, which is the upstream gh#hamcrest/PyHamcrest#124 fixing - compatibility with pytest 4+ officially. + compatibility with pytest 4+ officially. And of course, we + don't have to massacre test files anymore. ------------------------------------------------------------------- Tue Nov 5 11:20:23 UTC 2019 - Matej Cepl diff --git a/python-PyHamcrest.spec b/python-PyHamcrest.spec index b37e217..2043ab5 100644 --- a/python-PyHamcrest.spec +++ b/python-PyHamcrest.spec @@ -65,8 +65,6 @@ rm pytest.ini %python_expand %fdupes %{buildroot}%{$python_sitelib}/hamcrest %check -# gh#hamcrest/PyHamcrest#123 -rm -f tests/hamcrest_unit_test/core/is{_test,instanceof_test}.py %pytest %files %{python_files}