Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
4140e19c
Commit
4140e19c
authored
Dec 10, 2014
by
Damien George
Browse files
tests: Fix print_exception.py to work on Travis CI.
parent
e8487ea1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/misc/print_exception.py
View file @
4140e19c
...
...
@@ -7,7 +7,7 @@ else:
print_exception
=
lambda
e
,
f
:
traceback
.
print_exception
(
None
,
e
,
None
,
file
=
f
)
try
:
1
/
0
XXX
except
Exception
as
e
:
print
(
'caught'
)
buf
=
io
.
StringIO
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment