Skip to content

Commit cf0ac11

Browse files
committed
Fix Windows
1 parent d2d345b commit cf0ac11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/libregrtest/runtests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ class HuntRefleak:
7070
filename: StrPath
7171

7272
def bisect_cmd_args(self) -> list[str]:
73-
return ["-R", f"{self.warmups}:{self.runs}:{self.filename}"]
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}:"]
7476

7577

7678
@dataclasses.dataclass(slots=True, frozen=True)

0 commit comments

Comments
 (0)