Пример #1
0
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')
Пример #2
0
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')
Пример #3
0
def test_has_zmq():
	assert has_zmq()
Пример #4
0
def test_has_zmq():
    assert has_zmq()