]> git.scottworley.com Git - git-cache/blobdiff - test_git_cache.py
Version 1.3.0
[git-cache] / test_git_cache.py
index ecb11e8e19c9bfd7a1c3ddbab27dd2d5568bdc83..64151fe75b45766af8efa2a1bb9cce742907fbaa 100644 (file)
@@ -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(