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_socketserver.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_socketserver.py')
| -rw-r--r-- | Lib/test/test_socketserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 58fc5d03b3..3dd0d644a9 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -58,7 +58,7 @@ if HAVE_UNIX_SOCKETS: def simple_subprocess(testcase): pid = os.fork() if pid == 0: - # Don't throw an exception; it would be caught by the test harness. + # Don't raise an exception; it would be caught by the test harness. os._exit(72) yield None pid2, status = os.waitpid(pid, 0) |
