Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into file-digest-readinto
  • Loading branch information
srittau committed Feb 27, 2025
commit d4b385fff22fa428e37b06f0b49f1af1b451fe2b
8 changes: 0 additions & 8 deletions Lib/test/test_hashlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1194,14 +1194,6 @@ def test_file_digest(self):
with self.assertRaises(ValueError):
hashlib.file_digest(None, "sha256")

with self.assertRaises(ValueError):
with open(os_helper.TESTFN, "r") as f:
hashlib.file_digest(f, "sha256")

with self.assertRaises(ValueError):
with open(os_helper.TESTFN, "wb") as f:
hashlib.file_digest(f, "sha256")

class NonBlocking:
def readinto(self, buf):
return None
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.