MCPcopy Create free account
hub / github.com/ipython/ipython / test_find_mod_4

Function test_find_mod_4

IPython/utils/tests/test_module_paths.py:101–107  ·  view source on GitHub ↗

Search for a filename without its .py extension Expected output: full path with .py extension

()

Source from the content-addressed store, hash-verified

99 nt.assert_equal(mp.find_mod("xmod.sub"), modpath)
100
101def test_find_mod_4():
102 """
103 Search for a filename without its .py extension
104 Expected output: full path with .py extension
105 """
106 modpath = join(TMP_TEST_DIR, "pack.py")
107 nt.assert_equal(mp.find_mod("pack"), modpath)
108
109def test_find_mod_5():
110 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected