Files
gentoo/dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch
Patrick McLean 532a77df49 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>
2020-03-26 15:39:03 -07:00

22 lines
710 B
Diff

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')