History log of /external/trappy/tests/trappy/nbexport/exporter.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e81fdcb135d0325e3bc22fae0583555d20aae280 04-Jan-2017 Brendan Jackman <brendan.jackman@arm.com> Update ARM Ltd. copyright to 2017
/external/trappy/trappy/nbexport/exporter.py
0e6aa44c54f87cedb39fdee542ace0061f94f6f0 27-Apr-2016 Javi Merino <javi.merino@arm.com> trappy: allow running the testsuite in environments without ipython

nose tries to import all __init__.py files. Even if you do in
trappy/__init__.py:

try:
import trappy.nbexport
except ImportError:
pass

The testsuite fails because it then goes on and tries to import
trappy/nbexport/__init__.py. To avoid that, let
trappy/nbexport/__init__.py fail gracefully if it fails to import
anything needing for the export.
/external/trappy/trappy/nbexport/exporter.py