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

Method name

src/_pytest/capture.py:157–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155
156 @property
157 def name(self) -> str:
158 # Ensure that file.name is a string. Workaround for a Python bug
159 # fixed in >=3.7.4: https://bugs.python.org/issue36015
160 return repr(self.buffer)
161
162 @property
163 def mode(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected