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

Method test_txtfile_with_fixtures

testing/test_doctest.py:553–562  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

551 )
552
553 def test_txtfile_with_fixtures(self, pytester: Pytester):
554 p = pytester.maketxtfile(
555 """
556 >>> p = getfixture('tmp_path')
557 >>> p.is_dir()
558 True
559 """
560 )
561 reprec = pytester.inline_run(p)
562 reprec.assertoutcome(passed=1)
563
564 def test_txtfile_with_usefixtures_in_ini(self, pytester: Pytester):
565 pytester.makeini(

Callers

nothing calls this directly

Calls 3

assertoutcomeMethod · 0.80
maketxtfileMethod · 0.45
inline_runMethod · 0.45

Tested by

no test coverage detected