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

Method ext

src/_pytest/_py/path.py:358–360  ·  view source on GitHub ↗

Extension of the path (including the '.').

(self)

Source from the content-addressed store, hash-verified

356
357 @property
358 def ext(self):
359 """Extension of the path (including the '.')."""
360 return self._getbyspec("ext")[0]
361
362 def read_binary(self):
363 """Read and return a bytestring from reading the path."""

Callers

nothing calls this directly

Calls 1

_getbyspecMethod · 0.95

Tested by

no test coverage detected