]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:16:28 +0000 (11:16 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2025 10:16:28 +0000 (10:16 +0000)
commitcef406bbc3a35d487763e1a4ea075f1fcfa5497d
treee249dad3b1bea04f89bdccd19541a80dd8940bc1
parentdee4f2c2a286a396f1445c995453dfc0beafe5d3
[3.13] gh-126554: correct detection of `gcc` for `TestNullDlsym.test_null_dlsym` (GH-129872) (#129944)

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