diff --git a/tests/test_pyquery.py b/tests/test_pyquery.py index d29b27b..e6a9230 100644 --- a/tests/test_pyquery.py +++ b/tests/test_pyquery.py @@ -7,6 +7,7 @@ import os import sys import time import unittest +import platform from lxml import etree from pyquery.pyquery import PyQuery as pq, no_default from pyquery.openers import HAS_REQUEST @@ -33,6 +34,7 @@ path_to_invalid_file = os.path.join(dirname, 'invalid.xml') class TestUnicode(TestCase): + @unittest.skipIf(sys.hexversion > 0x3000000 and 'pypy' in platform.python_implementation().lower(), "broken on pypy3") def test_unicode(self): xml = pq(u"

é

") self.assertEqual(type(xml.html()), text_type)