diff options
author | 2025-02-12 22:16:51 -0800 | |
---|---|---|
committer | 2025-02-12 22:16:51 -0800 | |
commit | 8ea2abcb0ff0f2e23391dbde621d62c0980138e7 (patch) | |
tree | 4d421d8fcaea1914cf782421676fbb0da48af277 /python/python_test.go | |
parent | 421ced81177c558d9b03c958cc78493874e27a25 (diff) | |
parent | 4a80748e09ff307c3052fbb36ac38880fd5d2340 (diff) |
Merge "Don't panic in ModuleForTests and friends" into main am: 4a80748e09
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3490133
Change-Id: I2057f531f5d40d61410ce97547d04b6840c4e800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'python/python_test.go')
-rw-r--r-- | python/python_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python_test.go b/python/python_test.go index 0e97626d6..5f971cdd1 100644 --- a/python/python_test.go +++ b/python/python_test.go @@ -313,7 +313,7 @@ func TestInvalidTestOnlyTargets(t *testing.T) { } func expectModule(t *testing.T, ctx *android.TestContext, name, variant, expectedSrcsZip string, expectedPyRunfiles []string) { - module := ctx.ModuleForTests(name, variant) + module := ctx.ModuleForTests(t, name, variant) base, baseOk := module.Module().(*PythonLibraryModule) if !baseOk { |