[Python-modules-commits] [pytest-catchlog] 01/03: add fix-test-failures.patch

Daniel Stender stender at moszumanska.debian.org
Wed Jul 19 07:01:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

stender pushed a commit to branch debian/master
in repository pytest-catchlog.

commit 7cd007a50fe894534d61baefbac00a5d9c3e70ff
Author: Daniel Stender <stender at debian.org>
Date:   Wed Jul 19 08:26:36 2017 +0200

    add fix-test-failures.patch
---
 debian/changelog                       |  3 ++-
 debian/patches/fix-test-failures.patch | 35 ++++++++++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 3 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9194596..bd73860 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ pytest-catchlog (1.2.2-3) UNRELEASED; urgency=medium
     + change debian-branch to meet DEP-14.
     + add sign-tags.
   * deb/tests/control: dropped allow-stderr (not needed).
+  * add fix-test-failures.patch (Closes: #868780).
 
- -- Daniel Stender <stender at debian.org>  Tue, 18 Jul 2017 16:28:36 +0200
+ -- Daniel Stender <stender at debian.org>  Wed, 19 Jul 2017 08:24:12 +0200
 
 pytest-catchlog (1.2.2-1) unstable; urgency=medium
 
diff --git a/debian/patches/fix-test-failures.patch b/debian/patches/fix-test-failures.patch
new file mode 100644
index 0000000..de2fe6b
--- /dev/null
+++ b/debian/patches/fix-test-failures.patch
@@ -0,0 +1,35 @@
+Description: fix tests for latest Pytest
+Origin: https://github.com/eisensheng/pytest-catchlog/pull/69/commits/0fd99a3ae
+Bug: https://github.com/eisensheng/pytest-catchlog/issues/68
+Bug-Debian: https://bugs.debian.org/868780
+
+--- a/test_pytest_catchlog.py
++++ b/test_pytest_catchlog.py
+@@ -224,9 +224,9 @@
+     result = testdir.runpytest('-rw')
+     assert result.ret == 0
+     result.stdout.fnmatch_lines('''
+-        =*warning summary*=
+-        *WL1*test_compat_camel_case_aliases*caplog.setLevel()*deprecated*
+-        *WL1*test_compat_camel_case_aliases*caplog.atLevel()*deprecated*
++        =*warnings summary*=
++        *caplog.setLevel()*deprecated*
++        *caplog.atLevel()*deprecated*
+     ''')
+ 
+ 
+@@ -248,10 +248,10 @@
+     result = testdir.runpytest('-rw')
+     assert result.ret == 0
+     result.stdout.fnmatch_lines('''
+-        =*warning summary*=
+-        *WL1*test_compat_properties*caplog.text()*deprecated*
+-        *WL1*test_compat_properties*caplog.records()*deprecated*
+-        *WL1*test_compat_properties*caplog.record_tuples()*deprecated*
++        =*warnings summary*=
++        *caplog.text()*deprecated*
++        *caplog.records()*deprecated*
++        *caplog.record_tuples()*deprecated*
+     ''')
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d3de54c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-test-failures.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-catchlog.git



More information about the Python-modules-commits mailing list