]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126554: correct detection of `gcc` for `TestNullDlsym.test_null_dlsym` (GH-129872)
authorPeter Marko <peter.marko@siemens.com>
Mon, 10 Feb 2025 09:51:56 +0000 (10:51 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2025 09:51:56 +0000 (10:51 +0100)
commit978211c8a8646b050a8d687ca720f934fcce112c
treed191ad92edec3866e190ee67f49431b687f013b8
parentbff4bfeae1f428a815dc9a57b87f913217188fdd
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.

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