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
|