tests: Fix print_exception.py to work on Travis CI.

This commit is contained in:
Damien George 2014-12-10 21:45:51 +00:00
parent e8487ea1be
commit 4140e19c8a
1 changed files with 1 additions and 1 deletions

View File

@ -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()