diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-18 21:27:16 +0200 |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-18 21:27:16 +0200 |
| commit | a19195984922ce89e7695c93b3bb45c3e0e6d732 (patch) | |
| tree | 2cbafae7aa7aa368583be6216a0c23bce0774a0f /Lib/test/test_imaplib.py | |
| parent | f61dc4cea24c2e994dc11947a6d67708af87ce50 (diff) | |
| parent | 5b89840d9cf11014a4b865d79497649f74bf2866 (diff) | |
| download | cpython-git-a19195984922ce89e7695c93b3bb45c3e0e6d732.tar.gz | |
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/test/test_imaplib.py')
| -rw-r--r-- | Lib/test/test_imaplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py index 512bba9c3a..06776de8be 100644 --- a/Lib/test/test_imaplib.py +++ b/Lib/test/test_imaplib.py @@ -115,7 +115,7 @@ class SimpleIMAPHandler(socketserver.StreamRequestHandler): return line += part except IOError: - # ..but SSLSockets throw exceptions. + # ..but SSLSockets raise exceptions. return if line.endswith(b'\r\n'): break |
