We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f514a commit e372811Copy full SHA for e372811
tests/git_draft/drafter_test.py
@@ -1,5 +1,4 @@
1
import git
2
-import os.path as osp
3
from pathlib import Path, PurePosixPath
4
import pytest
5
from typing import Sequence
@@ -61,7 +60,7 @@ def setup(self, repo: git.Repo) -> None:
61
60
def _path(self, name: str) -> Path:
62
return Path(self._repo.working_dir, name)
63
64
- def _read(self, name: str) -> None:
+ def _read(self, name: str) -> str:
65
with open(self._path(name)) as f:
66
return f.read()
67
0 commit comments