SIGN IN SIGN UP

[3.14] gh-143672: Add more tests for struct.pack_into() (GH-143901) (GH-143902)

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().
(cherry picked from commit 66680f1230e51b8274279964f8d2278d12285eb3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
8c250cf65fd7fe5b18b13b43a8c28afb9929ea6c
Parent: 1241432
Committed by GitHub <noreply@github.com> on 1/16/2026, 11:52:57 AM