]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-143672: Add more tests for struct.pack_into() (GH-143901)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 16 Jan 2026 11:24:43 +0000 (13:24 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Jan 2026 11:24:43 +0000 (11:24 +0000)
commit66680f1230e51b8274279964f8d2278d12285eb3
tree53314c16073370c16ab0aa7b10b8898bc57f8a64
parentae53da57586d710504ad34c3d48d6e4303b7619a
gh-143672: Add more tests for struct.pack_into() (GH-143901)

Add tests for negative offset, out of bound offset, invalid type of offset,
non-writeable buffer, non-continuous buffer, invalid type of buffer.

Repeat all tests for struct.Struct.pack_into().
Lib/test/test_struct.py