Skip to content

Commit b3acb91

Browse files
committed
Revert repr change
1 parent cac9891 commit b3acb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/clinic/libclinic/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __post_init__(self) -> None:
1515
def report(self, *, warn_only: bool = False) -> str:
1616
msg = "Warning" if warn_only else "Error"
1717
if self.filename is not None:
18-
msg += f" in file '{self.filename}'"
18+
msg += f" in file {self.filename!r}"
1919
if self.lineno is not None:
2020
msg += f" on line {self.lineno}"
2121
msg += ":\n"

0 commit comments

Comments
 (0)