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

Method group

src/_pytest/_py/path.py:229–236  ·  src/_pytest/_py/path.py::Stat.group

Return group name of file.

(self)

Source from the content-addressed store, hash-verified

227
228 @property
229 def group(self):
230 class="st">""class="st">"Return group name of file."class="st">""
231 if iswin32:
232 raise NotImplementedError(class="st">"XXX win32")
233 import grp
234
235 entry = error.checked_call(grp.getgrgid, self.gid) class="cm"># type:ignore[attr-defined,unused-ignore]
236 return entry[0]
237
238 def isdir(self):
239 return S_ISDIR(self._osstatresult.st_mode)

Callers 9

replFunction · 0.80
create_new_pasteFunction · 0.80
add_color_levelMethod · 0.80
lexMethod · 0.80
announceFunction · 0.80
test_number_reMethod · 0.80
test_libedit_workaroundFunction · 0.80

Calls 1

checked_callMethod · 0.80

Tested by 3

test_number_reMethod · 0.64
test_libedit_workaroundFunction · 0.64