MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_8

Method test_8

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

mkhierMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected