def test_tryimport():
 from IPython.core.completerlib import try_import
 assert try_import('IPython.')

def test_tryimport ( ) : from IPython . core . completerlib import try_import assert try_import ( 'IPython.' )
test that try-import dont crash on trailing dot .