mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/pyquery: version bump 1.4.0
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
This commit is contained in:
22
dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch
Normal file
22
dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch
Normal file
@@ -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'Войти')
|
||||
Reference in New Issue
Block a user