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

Method test_simple_many_check_open_files

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

Source from the content-addressed store, hash-verified

1053 self.test_simple(tmpfile)
1054
1055 def test_simple_many_check_open_files(self, pytester: Pytester) -> None:
1056 with lsof_check():
1057 with pytester.makepyfile("").open("wb+") as tmpfile:
1058 self.test_simple_many(tmpfile)
1059
1060 def test_simple_fail_second_start(self, tmpfile: BinaryIO) -> None:
1061 fd = tmpfile.fileno()

Callers

nothing calls this directly

Calls 4

test_simple_manyMethod · 0.95
lsof_checkFunction · 0.85
openMethod · 0.80
makepyfileMethod · 0.45

Tested by

no test coverage detected