--- a/tests/readlink.py Tue Jun 23 22:38:21 2015 -0700
+++ b/tests/readlink.py Tue Jun 23 22:20:08 2015 -0700
@@ -5,7 +5,7 @@
for f in sys.argv[1:]:
try:
print f, '->', os.readlink(f)
- except OSError, err:
+ except OSError as err:
if err.errno != errno.EINVAL:
raise
print f, 'not a symlink'