Skip to content

Commit 13078b4

Browse files
committed
clarify content type
1 parent 72d82c3 commit 13078b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/test_tools/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Snapshot:
2222
def __init__(self, path: Path, for_update: bool) -> None:
2323
self.path = path
2424
mode = "r" if not for_update else "w+"
25-
self.content = open(path, encoding="utf-8", mode=mode).read()
25+
self.content: str = open(path, encoding="utf-8", mode=mode).read()
2626
self.for_update = for_update
2727

2828
def __eq__(self, other: object) -> bool:

0 commit comments

Comments
 (0)