diff options
Diffstat (limited to 'dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch')
-rw-r--r-- | dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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') |