summaryrefslogtreecommitdiff
path: root/dev-python/pyquery/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /dev-python/pyquery/files
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-python/pyquery/files')
-rw-r--r--dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch b/dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch
new file mode 100644
index 000000000000..337728794bb9
--- /dev/null
+++ b/dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch
@@ -0,0 +1,22 @@
+Disable test that requires a network connection.
+
+--- a/tests/test_pyquery.py
++++ b/tests/test_pyquery.py
+@@ -613,10 +613,10 @@
+ self.s.shutdown()
+
+
+-class TestWebScrappingEncoding(TestCase):
+-
+- def test_get(self):
+- d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
+- method='get')
+- print(d)
+- self.assertEqual(d('#pt-login').text(), u'Войти')
++#class TestWebScrappingEncoding(TestCase):
++#
++# def test_get(self):
++# d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
++# method='get')
++# print(d)
++# self.assertEqual(d('#pt-login').text(), u'Войти')