Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa592e9

Browse files
committed
Fix SyntaxError on Python 3
1 parent 497ffa8 commit fa592e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/threading_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def png_thread(tn):
3737
ax.hist(vals, 50)
3838
FigureCanvas(fig).print_png(png_f)
3939

40-
except Exception, excp:
40+
except Exception as excp:
4141
pass
4242

4343
png_f.close()

0 commit comments

Comments
 (0)