You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pyquery/files/pyquery-1.4.1-network-tests...

21 lines
613 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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')