MCPcopy
hub / github.com/pytest-dev/pytest / test_pydoc

Method test_pydoc

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

Source from the content-addressed store, hash-verified

586 assert result.ret == 0
587
588 def test_pydoc(self, pytester: Pytester) -> None:
589 result = pytester.runpython_c("import pytest;help(pytest)")
590 assert result.ret == 0
591 s = result.stdout.str()
592 assert "MarkGenerator" in s
593
594 def test_import_star_pytest(self, pytester: Pytester) -> None:
595 p = pytester.makepyfile(

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
runpython_cMethod · 0.45

Tested by

no test coverage detected