def check_ipython(): from openalea.vpltk.check.ipython_deps import has_zmq try: import IPython except ImportError: import warnings warnings.warn('IPython is not installed, some features will not be available') else: if has_zmq(): pass else: import warnings warnings.warn('IPython is not operational, please install zmq')
def check_ipython(): from openalea.vpltk.check.ipython_deps import has_zmq try: import IPython except ImportError: import warnings warnings.warn( 'IPython is not installed, some features will not be available') else: if has_zmq(): pass else: import warnings warnings.warn('IPython is not operational, please install zmq')
def test_has_zmq(): assert has_zmq()
def test_has_zmq(): assert has_zmq()