From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- .../pyquery/files/pyquery-1.4.1-network-tests.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch (limited to 'dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch') diff --git a/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch b/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch new file mode 100644 index 000000000000..37664689c0fd --- /dev/null +++ b/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch @@ -0,0 +1,20 @@ +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') -- cgit v1.3.1