MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_pydoc

Method test_pydoc

testing/acceptance_test.py:516–520  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

514 assert result.ret == 0
515
516 def test_pydoc(self, pytester: Pytester) -> None:
517 result = pytester.runpython_c("import pytest;help(pytest)")
518 assert result.ret == 0
519 s = result.stdout.str()
520 assert "MarkGenerator" in s
521
522 def test_import_star_pytest(self, pytester: Pytester) -> None:
523 p = pytester.makepyfile(

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
runpython_cMethod · 0.45

Tested by

no test coverage detected