68 lines
2.2 KiB
Diff
68 lines
2.2 KiB
Diff
--- a/src/lxml/tests/test_etree.py
|
|
+++ b/src/lxml/tests/test_etree.py
|
|
@@ -5496,8 +5496,6 @@
|
|
[make_doctest('../../../doc/FAQ.txt')])
|
|
suite.addTests(
|
|
[make_doctest('../../../doc/parsing.txt')])
|
|
- suite.addTests(
|
|
- [make_doctest('../../../doc/resolvers.txt')])
|
|
return suite
|
|
|
|
|
|
--- a/src/lxml/tests/test_http_io.py
|
|
+++ b/src/lxml/tests/test_http_io.py
|
|
@@ -11,7 +11,7 @@
|
|
import sys
|
|
import gzip
|
|
|
|
-from .common_imports import etree, HelperTestCase, BytesIO, _bytes
|
|
+from .common_imports import etree, skipIf, HelperTestCase, BytesIO, _bytes
|
|
from .dummy_http_server import webserver, HTTPRequestCollector
|
|
|
|
|
|
@@ -25,6 +25,7 @@
|
|
self.assertEqual([('/TEST', [])], handler.requests)
|
|
return tree
|
|
|
|
+ @skipIf(True, "Does not work on TW")
|
|
def test_http_client(self):
|
|
tree = self._parse_from_http(_bytes('<root><a/></root>'))
|
|
self.assertEqual('root', tree.getroot().tag)
|
|
@@ -38,6 +39,7 @@
|
|
else:
|
|
self.assertTrue(False, "expected IOError")
|
|
|
|
+ @skipIf(True, "Does not work on TW")
|
|
def test_http_client_gzip(self):
|
|
f = BytesIO()
|
|
gz = gzip.GzipFile(fileobj=f, mode='w', filename='test.xml')
|
|
@@ -51,6 +53,7 @@
|
|
self.assertEqual('root', tree.getroot().tag)
|
|
self.assertEqual('a', tree.getroot()[0].tag)
|
|
|
|
+ @skipIf(True, "Does not work on TW")
|
|
def test_parser_input_mix(self):
|
|
data = _bytes('<root><a/></root>')
|
|
handler = HTTPRequestCollector(data)
|
|
@@ -73,6 +76,7 @@
|
|
root = self.etree.fromstring(data)
|
|
self.assertEqual('a', root[0].tag)
|
|
|
|
+ @skipIf(True, "Does not work on TW")
|
|
def test_network_dtd(self):
|
|
data = [_bytes(textwrap.dedent(s)) for s in [
|
|
# XML file
|
|
--- a/src/lxml/tests/test_xslt.py
|
|
+++ b/src/lxml/tests/test_xslt.py
|
|
@@ -2096,10 +2096,6 @@
|
|
suite.addTests([unittest.makeSuite(ETreeXSLTExtElementTestCase)])
|
|
if is_python3:
|
|
suite.addTests([unittest.makeSuite(Py3XSLTTestCase)])
|
|
- suite.addTests(
|
|
- [make_doctest('../../../doc/extensions.txt')])
|
|
- suite.addTests(
|
|
- [make_doctest('../../../doc/xpathxslt.txt')])
|
|
return suite
|
|
|
|
if __name__ == '__main__':
|