Skip test.test_buffer.TestBufferProtocol.test_array_alignment

Add skip-test_array_alignment.patch skipping failing test
test.test_buffer.TestBufferProtocol.test_array_alignment
(gh#python/cpython#144725).
This commit is contained in:
2026-02-12 00:49:31 +01:00
parent 6e06723682
commit f235122969
3 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
Lib/test/test_buffer.py | 1 +
1 file changed, 1 insertion(+)
Index: Python-3.15.0a6/Lib/test/test_buffer.py
===================================================================
--- Python-3.15.0a6.orig/Lib/test/test_buffer.py 2026-02-12 00:38:25.599265172 +0100
+++ Python-3.15.0a6/Lib/test/test_buffer.py 2026-02-12 00:46:24.303091378 +0100
@@ -4463,6 +4463,7 @@
self.assertEqual([ptr % align for ptr in ptrs], [0]*len(ptrs))
@support.cpython_only
+ @unittest.skip('test fails; gh#python/cpython#144725')
@unittest.skipIf(_testcapi is None, "requires _testcapi")
def test_array_alignment(self):
# gh-140557: pointer alignment of buffers including empty allocation