mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
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>
This commit is contained in:
committed by
Patrick McLean
parent
56b7b2d428
commit
532a77df49
21
dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch
Normal file
21
dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch
Normal file
@@ -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')
|
||||
Reference in New Issue
Block a user