summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dl.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dl.py')
-rwxr-xr-xLib/test/test_dl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py
index b70a4cf..9c70427 100755
--- a/Lib/test/test_dl.py
+++ b/Lib/test/test_dl.py
@@ -18,7 +18,7 @@ for s, func in sharedlibs:
if verbose:
print 'trying to open:', s,
l = dl.open(s)
- except dl.error, err:
+ except dl.error as err:
if verbose:
print 'failed', repr(str(err))
pass