summaryrefslogtreecommitdiff
path: root/tests/stdlib
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2013-09-22 22:56:44 -0400
committerSergey Shepelev <temotor@gmail.com>2013-12-03 22:31:55 +0400
commit80633ab22486228a64184bb9d8d6fd0ea7977677 (patch)
tree070d9bd9c35f574a2e43dcd9d6d9ece5abb93b33 /tests/stdlib
parent76c1fcf3e5587db5c831bd825c2ba4bdf46a28c7 (diff)
downloadeventlet-80633ab22486228a64184bb9d8d6fd0ea7977677.tar.gz
python3 compat: 2to3: `except E as e:` syntax
First step to Python 3 compatibility "2to3 -w -f except ." See [1] [1] http://docs.python.org/2/library/2to3.html#fixers
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/all_modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/all_modules.py b/tests/stdlib/all_modules.py
index 6d07344..71e8c48 100644
--- a/tests/stdlib/all_modules.py
+++ b/tests/stdlib/all_modules.py
@@ -34,7 +34,7 @@ def get_modules():
s.connect(('eventlet.net', 80))
s.close()
test_modules = test_modules + network_modules
- except socket.error, e:
+ except socket.error as e:
print "Skipping network tests"
return test_modules