]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145557: Check ctypes is available in test_external_inspection (GH-145558...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Mar 2026 19:31:06 +0000 (20:31 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Mar 2026 19:31:06 +0000 (19:31 +0000)
commit635426f9b529c0f0c3070c8232bf12e392f983d7
treeb151dccc44ed6c846294a2d365ab30a083c5b51d
parentb7fb2359e8834557b41abf51a848e7bdd2d6e58f
[3.14] gh-145557: Check ctypes is available in test_external_inspection (GH-145558) (#145565)

gh-145557: Check ctypes is available in test_external_inspection (GH-145558)

Currently TestGetStackTrace.test_self_trace_after_ctypes_import() will fail if
the _ctypes extension is not built.  Make it match test_ctypes by skipping
the test in that case.
(cherry picked from commit 7232883adfc28f94a62d2e79c897db59711702d7)

Co-authored-by: Alex Malyshev <lex.malyshev@gmail.com>
Lib/test/test_external_inspection.py