(self)
| 42 | assert modules == result |
| 43 | |
| 44 | def test_is_wheel_compatible(self): |
| 45 | ctx = mock.Mock(recipe_build_order=[]) |
| 46 | ctx.archs = [ArchARMv7_a(ctx), ArchAarch_64(ctx)] |
| 47 | ctx.ndk_api = 24 |
| 48 | arch = ctx.archs[0] |
| 49 | |
| 50 | assert is_wheel_compatible("test-7.1.0-0-cp314-cp314-android_24_aarch64.whl", ctx.archs[1], ctx) |
| 51 | assert is_wheel_compatible("test-7.1.0-0-cp314-cp314-android_24_arm.whl", ctx.archs[0], ctx) |
| 52 | assert is_wheel_compatible("certifi-2026.1.4-py3-none-any.whl", arch, ctx) |
| 53 | |
| 54 | # arches are diff |
| 55 | assert not is_wheel_compatible("test-7.1.0-0-cp314-cp314-android_24_aarch64.whl", ctx.archs[0], ctx) |
| 56 | |
| 57 | # other os |
| 58 | assert not is_wheel_compatible("test-7.1.0-0-cp313-cp313-some_other_os.whl", arch, ctx) |
| 59 | assert not is_wheel_compatible("mmh3-5.2.0-cp314-cp314t-win_amd64.whl", arch, ctx) |
| 60 | |
| 61 | def test_strip_if_with_debug_symbols(self): |
| 62 | ctx = mock.Mock(recipe_build_order=[]) |
nothing calls this directly
no test coverage detected