SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
635426f9b529c0f0c3070c8232bf12e392f983d7
Parent: b7fb235
Committed by GitHub <noreply@github.com> on 3/5/2026, 7:31:06 PM