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

Method test_8

Lib/test/test_pkg.py:282–290  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

280 @unittest.skipIf(sys.flags.optimize >= 2,
281 "Docstrings are omitted with -O2 and above")
282 def test_8(self):
283 hier = [
284 ("t8", None),
285 ("t8 __init__"+os.extsep+"py", "'doc for t8'"),
286 ]
287 self.mkhier(hier)
288
289 import t8
290 self.assertEqual(t8.__doc__, "doc for t8")
291
292if __name__ == "__main__":
293 unittest.main()

Callers

nothing calls this directly

Calls 2

mkhierMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected