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

Function test_find_mod_2

IPython/utils/tests/test_module_paths.py:84–91  ·  view source on GitHub ↗

Search for a directory's file path. Expected output: a path to that directory's __init__.py file. TODO: Confirm why this is a duplicate test.

()

Source from the content-addressed store, hash-verified

82 nt.assert_equal(mp.find_mod("xmod"), modpath)
83
84def test_find_mod_2():
85 """
86 Search for a directory's file path.
87 Expected output: a path to that directory's __init__.py file.
88 TODO: Confirm why this is a duplicate test.
89 """
90 modpath = join(TMP_TEST_DIR, "xmod", "__init__.py")
91 nt.assert_equal(mp.find_mod("xmod"), modpath)
92
93def test_find_mod_3():
94 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected