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

Method test_simple_many_check_open_files

testing/test_capture.py:975–978  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

973 self.test_simple(tmpfile)
974
975 def test_simple_many_check_open_files(self, pytester: Pytester) -> None:
976 with lsof_check():
977 with pytester.makepyfile("").open("wb+") as tmpfile:
978 self.test_simple_many(tmpfile)
979
980 def test_simple_fail_second_start(self, tmpfile: BinaryIO) -> None:
981 fd = tmpfile.fileno()

Callers

nothing calls this directly

Calls 3

test_simple_manyMethod · 0.95
lsof_checkFunction · 0.85
makepyfileMethod · 0.45

Tested by

no test coverage detected