diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch')
-rw-r--r-- | dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch | 22 |
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'Войти') |