Skip to content

Commit 3e1b47c

Browse files
committed
Use !r here
The code I copied this from had both quotes and !r, and I removed the wrong one. Thanks @leplatrem for the suggestion.
1 parent 0f9fc10 commit 3e1b47c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autograph_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(self, *, expected, actual):
139139
def detail(self):
140140
return (
141141
"Certificate is not based on expected root hash. "
142-
f"Got '{self.actual}' expected '{self.expected}'"
142+
f"Got {self.actual!r} expected {self.expected!r}"
143143
)
144144

145145

0 commit comments

Comments
 (0)