summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-03-26 15:36:45 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-03-26 15:39:03 -0700
commit532a77df4942cb0dc5eac6acaa1e97922354103f (patch)
treede07c075a9acf65fe1a2c60ecf93ab7b74eaff40 /dev-python/cherrypy/files
parentdev-python/jaraco-collections-3.0.0: add pypy3 (diff)
downloadgentoo-532a77df4942cb0dc5eac6acaa1e97922354103f.tar.gz
gentoo-532a77df4942cb0dc5eac6acaa1e97922354103f.tar.bz2
gentoo-532a77df4942cb0dc5eac6acaa1e97922354103f.zip
dev-python/cherrypy-18.5.0: Version bump, drop pypy3 since it fails tests
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/cherrypy/files')
-rw-r--r--dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch b/dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch
new file mode 100644
index 000000000000..d556b8678200
--- /dev/null
+++ b/dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch
@@ -0,0 +1,21 @@
+diff --git a/cherrypy/test/test_tools.py b/cherrypy/test/test_tools.py
+index 3a0fd389..e357a445 100644
+--- a/cherrypy/test/test_tools.py
++++ b/cherrypy/test/test_tools.py
+@@ -9,6 +9,8 @@ import unittest
+ import operator
+ from http.client import IncompleteRead
+
++import pytest
++
+ import cherrypy
+ from cherrypy import tools
+ from cherrypy._cpcompat import ntou
+@@ -343,6 +345,7 @@ class ToolTests(helper.CPWebCase):
+ expected_msg = tmpl.format(attr='items')
+ self.assertInBody(expected_msg)
+
++ @pytest.mark.skipif('sys.hexversion >= 0x03080000')
+ def testCombinedTools(self):
+ expectedResult = (ntou('Hello,world') +
+ europoundUnicode).encode('utf-8')