(self)
| 807 | |
| 808 | class SimpleServerTestCase(BaseServerTestCase): |
| 809 | def test_simple1(self): |
| 810 | try: |
| 811 | p = xmlrpclib.ServerProxy(URL) |
| 812 | self.assertEqual(p.pow(6,8), 6**8) |
| 813 | except (xmlrpclib.ProtocolError, OSError) as e: |
| 814 | # ignore failures due to non-blocking socket 'unavailable' errors |
| 815 | if not is_unavailable_exception(e): |
| 816 | # protocol error; provide additional information in test output |
| 817 | self.fail("%s\n%s" % (e, getattr(e, "headers", ""))) |
| 818 | |
| 819 | def test_nonascii(self): |
| 820 | start_string = 'P\N{LATIN SMALL LETTER Y WITH CIRCUMFLEX}t' |
no test coverage detected