https://github.com/python/cpython/commit/562f6d1639fd19af3a5e9eac2b2c632d1b0a7bfc commit: 562f6d1639fd19af3a5e9eac2b2c632d1b0a7bfc branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: freakboy3742 <russ...@keith-magee.com> date: 2025-06-18T06:48:03Z summary:
[3.14] gh-134632: Add iOS/Android test skip for C API check for headers. (GH-135656) (#135657) iOS and Android don't ship headers in the testbed, so we can't test for their existence. (cherry picked from commit 1c7efaf58a62d848421b2da97360ba3df7d7856b) Co-authored-by: Russell Keith-Magee <russ...@keith-magee.com> files: M Lib/test/test_build_details.py diff --git a/Lib/test/test_build_details.py b/Lib/test/test_build_details.py index 33ade161fb5058..ba4b8c5aa9b58e 100644 --- a/Lib/test/test_build_details.py +++ b/Lib/test/test_build_details.py @@ -117,13 +117,20 @@ def test_location(self): # Override generic format tests with tests for our specific implemenation. @needs_installed_python - @unittest.skipIf(is_android or is_apple_mobile, 'Android and iOS run tests via a custom testbed method that changes sys.executable') + @unittest.skipIf( + is_android or is_apple_mobile, + 'Android and iOS run tests via a custom testbed method that changes sys.executable' + ) def test_base_interpreter(self): value = self.key('base_interpreter') self.assertEqual(os.path.realpath(value), os.path.realpath(sys.executable)) @needs_installed_python + @unittest.skipIf( + is_android or is_apple_mobile, + "Android and iOS run tests via a custom testbed method that doesn't ship headers" + ) def test_c_api(self): value = self.key('c_api') self.assertTrue(os.path.exists(os.path.join(value['headers'], 'Python.h'))) _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: arch...@mail-archive.com