Only skip problematic section of query_string_decoding
This style of URL is simply no longer supported by urllib, so it breaks this test in Py3
@@ -120,9 +120,8 @@ class EncodingTests(helper.CPWebCase):
cherrypy.tree.mount(root, config={'/gzip': {'tools.gzip.on': True}})
def test_query_string_decoding(self):
- if six.PY3:
- # This test fails on Python 3. See #1443
- return
+ if six.PY2:
+ # URLs with unicode are no longer supported in Py3 urllib. See #1443
europoundUtf8 = europoundUnicode.encode('utf-8')
self.getPage(ntob('/?param=') + europoundUtf8)
self.assertBody(europoundUtf8)
