gentoo/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch
Patrick McLean 6bffbaa88d
dev-python/pyquery-1.4.1: bump, add py38 and pypy{,3}
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2019-11-27 13:19:25 -08:00

21 lines
613 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff --git a/tests/test_pyquery.py b/tests/test_pyquery.py
index ca38a83..d29b27b 100644
--- a/tests/test_pyquery.py
+++ b/tests/test_pyquery.py
@@ -6,6 +6,7 @@
import os
import sys
import time
+import unittest
from lxml import etree
from pyquery.pyquery import PyQuery as pq, no_default
from pyquery.openers import HAS_REQUEST
@@ -889,6 +890,7 @@ class TestWebScrapping(TestCase):
class TestWebScrappingEncoding(TestCase):
+ @unittest.skip("needs internet")
def test_get(self):
d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
method='get')