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 | bb8b07e988944592019eaa56716bf41c2b19a0e0 (patch) | |
tree | 5aedb137e52f39ec8e24a77d39a13e0b386285e2 /Lib/test/test_socketserver.py | |
parent | 4039e0908a16c2a2c33209219a315e88f0beefb2 (diff) | |
parent | 40929f315c0bb0f7feb4a5204bafa9f6dd7160f7 (diff) | |
download | cpython-bb8b07e988944592019eaa56716bf41c2b19a0e0.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) |