mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
This commit is contained in:
parent
4001e96179
commit
737fb89dd1
36 changed files with 54 additions and 54 deletions
|
@ -100,7 +100,7 @@ class DocXMLRPCHTTPGETServer(unittest.TestCase):
|
|||
self.assertEqual(response.status, 200)
|
||||
self.assertEqual(response.getheader("Content-type"), "text/html")
|
||||
|
||||
# Server throws an exception if we don't start to read the data
|
||||
# Server raises an exception if we don't start to read the data
|
||||
response.read()
|
||||
|
||||
def test_invalid_get_response(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue