summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-14 19:26:34 (GMT)
committerGitHub <noreply@github.com>2023-06-14 19:26:34 (GMT)
commit820febc535cd9548b11c01c3c6d572b442f20c35 (patch)
tree74f43a330c52494a9056a10c268198f59f84a585 /Lib
parentd50930a6a846280b5da299f9c2f9a01669dbf06c (diff)
downloadcpython-820febc535cd9548b11c01c3c6d572b442f20c35.zip
cpython-820febc535cd9548b11c01c3c6d572b442f20c35.tar.gz
cpython-820febc535cd9548b11c01c3c6d572b442f20c35.tar.bz2
gh-75905: Remove test_xmlrpc_net: skipped since 2017 (#105796)
test_xmlrpc_net was skipped since 2017: commit 73ffd3f2036179ed54591ef0455e5ba5694ae5bd. The public buildbot.python.org server has no XML-RPC interface anymore, and no replacement server was found in 6 years.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_xmlrpc_net.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/Lib/test/test_xmlrpc_net.py b/Lib/test/test_xmlrpc_net.py
deleted file mode 100644
index 51167b2..0000000
--- a/Lib/test/test_xmlrpc_net.py
+++ /dev/null
@@ -1,31 +0,0 @@
-import collections.abc
-import unittest
-from test import support
-
-import xmlrpc.client as xmlrpclib
-
-
-support.requires("network")
-
-
-@unittest.skip('XXX: buildbot.python.org/all/xmlrpc/ is gone')
-class PythonBuildersTest(unittest.TestCase):
-
- def test_python_builders(self):
- # Get the list of builders from the XMLRPC buildbot interface at
- # python.org.
- server = xmlrpclib.ServerProxy("http://buildbot.python.org/all/xmlrpc/")
- try:
- builders = server.getAllBuilders()
- except OSError as e:
- self.skipTest("network error: %s" % e)
- self.addCleanup(lambda: server('close')())
-
- # Perform a minimal sanity check on the result, just to be sure
- # the request means what we think it means.
- self.assertIsInstance(builders, collections.abc.Sequence)
- self.assertTrue([x for x in builders if "3.x" in x], builders)
-
-
-if __name__ == "__main__":
- unittest.main()