You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07: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