]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126554: correct detection of `gcc` for `TestNullDlsym.test_null_dlsym`...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Feb 2025 10:08:18 +0000 (11:08 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2025 10:08:18 +0000 (10:08 +0000)
commit3d2ca741dc66ebcd30cee61a2e77249cb3c57f72
treead6665652ae75af80a19f0edc768a2b0ccad0dc0
parent774458884b1e530d5ca0276671522c0dc4f4127e
[3.12] gh-126554: correct detection of `gcc` for `TestNullDlsym.test_null_dlsym` (GH-129872) (#129945)

gh-126554: correct detection of `gcc` for `TestNullDlsym.test_null_dlsym` (GH-129872)

In case gcc is not available, the test will fail with FileNotFoundError.
So catch the exception to skip the test correctly.
(cherry picked from commit 978211c8a8646b050a8d687ca720f934fcce112c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Co-authored-by: Peter Marko <peter.marko@siemens.com>
Lib/test/test_ctypes/test_dlerror.py