summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-21 20:50:22 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-21 21:23:33 +0200
commitcc3e38b6b23c277f7f740dfa483f9dbfe41fd558 (patch)
tree83cc4c8bc5bf0dca51d415b16056a9db75dcaa23 /dev-python/cherrypy/files
parentdev-python/objgraph: Port to py3.9 (diff)
downloadgentoo-cc3e38b6b23c277f7f740dfa483f9dbfe41fd558.tar.gz
gentoo-cc3e38b6b23c277f7f740dfa483f9dbfe41fd558.tar.bz2
gentoo-cc3e38b6b23c277f7f740dfa483f9dbfe41fd558.zip
dev-python/cherrypy: Fix tests
Closes: https://bugs.gentoo.org/727240 Signed-off-by: Michał Górny <mgorny@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, 0 insertions, 21 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
deleted file mode 100644
index d556b8678200..000000000000
--- a/dev-python/cherrypy/files/cherrypy-18.5.0-tests.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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')