X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/26c6a36bb845c7cfd7ea2d7a0ec56eec7cc20d28..5dd71f12b4b38160847ad1000bb57d8d049f3f25:/test_git_cache.py diff --git a/test_git_cache.py b/test_git_cache.py index ecb11e8..64151fe 100644 --- a/test_git_cache.py +++ b/test_git_cache.py @@ -10,7 +10,7 @@ import git_cache def _git(directory: str, *args: str) -> bytes: p = subprocess.run(['git', '-C', directory] + list(args), stdout=subprocess.PIPE, check=True) - return p.stdout + return bytes(p.stdout) def _commit_file(