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

Skip to content

Commit c6e5046

Browse files
committed
Merge pull request #5706 from jayvdb/unit-threading_test-invalid-syntax
Fix: SyntaxError on Python 3
1 parent f19fea6 commit c6e5046

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)