Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Annotated doc_xmlrpc test failures/errors
  • Loading branch information
terryluan12 committed Jan 3, 2026
commit 00632976eed922acde59ce3841dbbd713144a332
7 changes: 5 additions & 2 deletions Lib/test/test_docxmlrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ def test_valid_get_response(self):
# Server raises an exception if we don't start to read the data
response.read()

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_get_css(self):
self.client.request("GET", "/pydoc.css")
response = self.client.getresponse()
Expand All @@ -121,6 +119,7 @@ def test_invalid_get_response(self):

response.read()

@unittest.skip('TODO: RUSTPYTHON; http.client.RemoteDisconnected: Remote end closed connection without response')
def test_lambda(self):
"""Test that lambda functionality stays the same. The output produced
currently is, I suspect invalid because of the unencoded brackets in the
Expand Down Expand Up @@ -163,6 +162,7 @@ def test_autolinking(self):

@make_request_and_skipIf(sys.flags.optimize >= 2,
"Docstrings are omitted with -O2 and above")
@unittest.skip('TODO: RUSTPYTHON; http.client.RemoteDisconnected: Remote end closed connection without response')
def test_system_methods(self):
"""Test the presence of three consecutive system.* methods.

Expand Down Expand Up @@ -190,6 +190,7 @@ def test_system_methods(self):
b'<br>\nThis&nbsp;server&nbsp;does&nbsp;NOT&nbsp;support&nbsp;system'
b'.methodSignature.</tt></dd></dl>'), response)

@unittest.skip('TODO: RUSTPYTHON; http.client.RemoteDisconnected: Remote end closed connection without response')
def test_autolink_dotted_methods(self):
"""Test that selfdot values are made strong automatically in the
documentation."""
Expand All @@ -199,6 +200,7 @@ def test_autolink_dotted_methods(self):
self.assertIn(b"""Try&nbsp;self.<strong>add</strong>,&nbsp;too.""",
response.read())

@unittest.skip('TODO: RUSTPYTHON; http.client.RemoteDisconnected: Remote end closed connection without response')
def test_annotations(self):
""" Test that annotations works as expected """
self.client.request("GET", "/")
Expand All @@ -212,6 +214,7 @@ def test_annotations(self):
b'method_annotation</strong></a>(x: bytes)</dt></dl>'),
response.read())

@unittest.skip('TODO: RUSTPYTHON; TypeError: HTMLDoc.heading() missing 2 required positional arguments: "fgcol" and "bgcol"')
def test_server_title_escape(self):
# bpo-38243: Ensure that the server title and documentation
# are escaped for HTML.
Expand Down
Loading