Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c6e5046

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎unit/threading_test.py

Copy file name to clipboardExpand all lines: unit/threading_test.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.