summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-27 11:23:08 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-27 13:19:15 -0800
commitebaec468eb5c7dd8689d6cc08769a68e7cfeb054 (patch)
treeccbca7301ad9574309ddf7cfad2af3b4bd10af95 /dev-python/wsgiproxy2/files
parentdev-util/byacc: arm64 stable (bug #701304) (diff)
downloadgentoo-ebaec468eb5c7dd8689d6cc08769a68e7cfeb054.tar.gz
gentoo-ebaec468eb5c7dd8689d6cc08769a68e7cfeb054.tar.bz2
gentoo-ebaec468eb5c7dd8689d6cc08769a68e7cfeb054.zip
dev-python/wsgiproxy2-0.4.6: bump, add py38 and pypy{,3}
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/wsgiproxy2/files')
-rw-r--r--dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch b/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch
new file mode 100644
index 000000000000..77515b85b027
--- /dev/null
+++ b/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch
@@ -0,0 +1,19 @@
+diff --git a/wsgiproxy/test_wsgiproxy.py b/wsgiproxy/test_wsgiproxy.py
+index 39355d9..7806d3b 100644
+--- a/wsgiproxy/test_wsgiproxy.py
++++ b/wsgiproxy/test_wsgiproxy.py
+@@ -1,4 +1,6 @@
+ # -*- coding: utf-8 -*-
++import sys
++import platform
+ import unittest
+ from wsgiproxy import proxies
+ from webtest import TestApp
+@@ -86,6 +88,7 @@ class TestHttplib(unittest.TestCase):
+ headers=[('Transfer-Encoding', 'chunked')])
+ resp.mustcontain(no='chunked')
+
++ @unittest.skipIf(sys.hexversion < 0x3000000 and 'pypy' not in platform.python_implementation().lower(), "broken on cpython2")
+ def test_quoted_utf8_url(self):
+ path = '/targets/NR2F1%C3%82-human/'
+ resp = self.app.get(path)