def test_submodule_name(): result: str = nbtest._submodule_name(nbtest.doctest) assert result == 'gen_doc', 'should return submodule' from fastai.core import ifnone result: str = nbtest._submodule_name(ifnone) assert result == None, f'fastai/module should not have a submodule: {result}'
def test_submodule_name(): this_tests(nbtest._submodule_name) result:str = nbtest._submodule_name(nbtest.doctest) assert result == 'gen_doc', 'should return submodule' from fastai.core import ifnone result:str = nbtest._submodule_name(ifnone) assert result == None, f'fastai/module should not have a submodule: {result}'
def test_submodule_name(): this_tests(nbtest._submodule_name) result: str = nbtest._submodule_name(nbtest.doctest) assert result == "gen_doc", "should return submodule" from fastai.core import ifnone result: str = nbtest._submodule_name(ifnone) assert result == None, f"fastai/module should not have a submodule: {result}"