Skip to content

Commit a3d7945

Browse files
committed
Minor Python 3 syntax compatiblity
1 parent bc795c7 commit a3d7945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ethtool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def assertRaisesIOError(self, fn, args, errmsg):
6161
"""
6262
try:
6363
fn(*args)
64-
except IOError, e:
64+
except IOError as e:
6565
# Check the details of the exception:
6666
self.assertEquals(e.args, (errmsg, ))
6767
else:

0 commit comments

Comments
 (0)