FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-131357: Add tests for zero-sized bytes objects in test_bytes.py by abstractedfox · Pull Request #134234 · python/cpython · GitHub

Repository navigation

Prev Previous commit
Next Next commit
Fix trailing whitespace
  • Loading branch information
abstractedfox committed May 19, 2025
commit 0d867377c6b102f489a348e4e0174949e5a5c3de
2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_bytes.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_fromstring(self):
self.assertEqual(fromstring(b'abc\0def'), b'abc')
self.assertEqual(fromstring(b''), b'')

# CRASHES fromstring(NULL)
# CRASHES fromstring(NULL)

def test_fromobject(self):
# Test PyBytes_FromObject()
Expand Down

Back | FazBrowse Home | New Git URL