Browse Source

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

pull/1003/merge
Damien George 10 years ago
parent
commit
4140e19c8a
  1. 2
      tests/misc/print_exception.py

2
tests/misc/print_exception.py

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

Loading…
Cancel
Save