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

Skip to content

Commit f413b78

Browse files
committed
Merge pull request #5706 from jayvdb/unit-threading_test-invalid-syntax
Fix: SyntaxError on Python 3
2 parents 497ffa8 + fa592e9 commit f413b78

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)