mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-28 04:07:32 -07:00
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
21 lines
715 B
Diff
21 lines
715 B
Diff
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"<html><p>é</p></html>")
|
|
self.assertEqual(type(xml.html()), text_type)
|