[Python-modules-commits] [python-parameterized] 01/06: Fix debci failures due to a buggy test

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Oct 21 21:33:53 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository python-parameterized.

commit 3c9b96969dd11a30dd7b77f87a8842a255a0181b
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Oct 21 21:46:58 2017 +0100

    Fix debci failures due to a buggy test
    
    - New patch Remove-unicode-docstring-test.patch
    
    Gbp-Dch: Full
---
 debian/patches/Remove-unicode-docstring-test.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/Remove-unicode-docstring-test.patch b/debian/patches/Remove-unicode-docstring-test.patch
new file mode 100644
index 0000000..15a0094
--- /dev/null
+++ b/debian/patches/Remove-unicode-docstring-test.patch
@@ -0,0 +1,25 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Sat, 21 Oct 2017 21:44:47 +0100
+Subject: Remove unicode docstring test
+
+Bug: https://github.com/wolever/parameterized/issues/44
+---
+ parameterized/test.py | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/parameterized/test.py b/parameterized/test.py
+index 93e15ea..d8e06af 100644
+--- a/parameterized/test.py
++++ b/parameterized/test.py
+@@ -164,11 +164,6 @@ class TestParameterizedExpandDocstring(TestCase):
+             "        More" %(foo, )
+         )
+ 
+-    @parameterized.expand([param("foo")])
+-    def test_unicode_docstring(self, foo):
+-        u"""Döcumentation."""
+-        self._assert_docstring(u"Döcumentation [with foo=%r]." %(foo, ))
+-
+     @parameterized.expand([param("foo", )])
+     def test_default_values_get_correct_value(self, foo, bar=12):
+         """Documentation"""
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a9af7f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Remove-unicode-docstring-test.patch

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



More information about the Python-modules-commits mailing list