MCPcopy Index your code
hub / github.com/python/cpython / test_commonprefix

Method test_commonprefix

Lib/test/test_ntpath.py:301–303  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

299 tester('ntpath.isabs("\\\\.\\C:")', 1)
300
301 def test_commonprefix(self):
302 with warnings_helper.check_warnings((".*commonpath().*", DeprecationWarning)):
303 self.do_test_commonprefix()
304
305 def do_test_commonprefix(self):
306 tester('ntpath.commonprefix(["/home/swenson/spam", "/home/swen/spam"])',

Callers

nothing calls this directly

Calls 1

do_test_commonprefixMethod · 0.95

Tested by

no test coverage detected