mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
tests: Fix print_exception.py to work on Travis CI.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user