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

Method visit_Starred

src/_pytest/assertion/rewrite.py:1083–1087  ·  view source on GitHub ↗
(self, starred: ast.Starred)

Source from the content-addressed store, hash-verified

1081 return res, outer_expl
1082
1083 def visit_Starred(self, starred: ast.Starred) -> tuple[ast.Starred, str]:
1084 # A Starred node can appear in a function call.
1085 res, expl = self.visit(starred.value)
1086 new_starred = ast.Starred(res, starred.ctx)
1087 return new_starred, "*" + expl
1088
1089 def visit_Attribute(self, attr: ast.Attribute) -> tuple[ast.Name, str]:
1090 if not isinstance(attr.ctx, ast.Load):

Callers

nothing calls this directly

Calls 1

visitMethod · 0.80

Tested by

no test coverage detected