MCPcopy Index your code
hub / github.com/RustPython/RustPython / HuntRefleak

Class HuntRefleak

Lib/test/libregrtest/runtests.py:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66@dataclasses.dataclass(slots=True, frozen=True)
67class HuntRefleak:
68 warmups: int
69 runs: int
70 filename: StrPath
71
72 def bisect_cmd_args(self) -> list[str]:
73 # Ignore filename since it can contain colon (":"),
74 # and usually it's not used. Use the default filename.
75 return ["-R", f"{self.warmups}:{self.runs}:"]
76
77
78@dataclasses.dataclass(slots=True, frozen=True)

Callers 2

_decode_runtestsFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

_decode_runtestsFunction · 0.68