def test__version_missing(ipython) -> None: assert scinfo._version('bokeh', '__version__') is not None assert scinfo._version('IPython', '__version__') is not None assert scinfo._version('tornado', 'version') is not None assert scinfo._version('junk', 'whatever') is None
def test__version_missing(): assert scinfo._version('bokeh', '__version__') is not None assert scinfo._version('IPython', '__version__') is not None assert scinfo._version('tornado', 'version') is not None assert scinfo._version('junk', 'whatever') is None