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

Function test_find_mod_3

IPython/utils/tests/test_module_paths.py:93–99  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

91 nt.assert_equal(mp.find_mod("xmod"), modpath)
92
93def test_find_mod_3():
94 """
95 Search for a directory + a filename without its .py extension
96 Expected output: full path with .py extension.
97 """
98 modpath = join(TMP_TEST_DIR, "xmod", "sub.py")
99 nt.assert_equal(mp.find_mod("xmod.sub"), modpath)
100
101def test_find_mod_4():
102 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected