summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/audit-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/audit-tests.py b/Lib/test/audit-tests.py
index dda52a5..b90c4b8 100644
--- a/Lib/test/audit-tests.py
+++ b/Lib/test/audit-tests.py
@@ -343,7 +343,7 @@ def test_socket():
try:
# Don't care if this fails, we just want the audit message
sock.bind(('127.0.0.1', 8080))
- except error:
+ except Exception:
pass
finally:
sock.close()