--- a/tests/test-trusted.py Tue Jun 23 22:38:21 2015 -0700
+++ b/tests/test-trusted.py Tue Jun 23 22:20:08 2015 -0700
@@ -169,7 +169,7 @@
def assertraises(f, exc=util.Abort):
try:
f()
- except exc, inst:
+ except exc as inst:
print 'raised', inst.__class__.__name__
else:
print 'no exception?!'
@@ -188,10 +188,10 @@
try:
testui(user='abc', group='def', silent=True)
-except error.ParseError, inst:
+except error.ParseError as inst:
print inst
try:
testui(debug=True, silent=True)
-except error.ParseError, inst:
+except error.ParseError as inst:
print inst