~ruther/guix-local

ref: bfdce9ffdae2b3e42f46955caee4de1a3e4c1d33 guix-local/gnu/packages/patches/python2-parameterized-docstring-test.patch -rw-r--r-- 588 bytes
bfdce9ff — Tobias Geerinckx-Rice gnu: mpop: Update to 1.4.10. 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Skip unicode docstring test, required when running on Python 2.

See <https://github.com/wolever/parameterized/issues/44>.

--- a/parameterized/test.py
+++ b/parameterized/test.py
@@ -284,11 +284,6 @@
             "        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"""