Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Jul 12, 2024
1 parent 8db64cc commit d17dc63
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_utils_sha.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,5 @@ def test_git_hash(tmpdir):
with open(path, "wb") as file:
file.write(b"Hello, World!")

output = subprocess.run(
f"git hash-object -t blob {path}", shell=True, capture_output=True, text=True
)
output = subprocess.run(f"git hash-object -t blob {path}", shell=True, capture_output=True, text=True)
assert output.stdout.strip() == git_hash(b"Hello, World!")

0 comments on commit d17dc63

Please sign in to comment.