Skip to content

Commit c6e5046

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/threading_test.py

+1-1
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)