Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9089b79 + da6eb53 commit 92c144eCopy full SHA for 92c144e
1 file changed
Lib/test/test_xmlrpc.py
@@ -584,6 +584,10 @@ def test_dotted_attribute(self):
584
# This avoids waiting for the socket timeout.
585
self.test_simple1()
586
587
+ def test_unicode_host(self):
588
+ server = xmlrpclib.ServerProxy("http://%s:%d/RPC2" % (ADDR, PORT))
589
+ self.assertEqual(server.add("a", "\xe9"), "a\xe9")
590
+
591
class MultiPathServerTestCase(BaseServerTestCase):
592
threadFunc = staticmethod(http_multi_server)
593
request_count = 2
0 commit comments