summaryrefslogtreecommitdiff
path: root/python/python_test.go
diff options
context:
space:
mode:
authorLiz Kammer <eakammer@google.com>2020-10-30 15:44:09 -0700
committerLiz Kammer <eakammer@google.com>2020-11-02 11:30:39 -0800
commit7e93e5b001cd410ea9418a19d33931ede6d4901c (patch)
treee98c604b6fdbb5ce3ba750121cb4e547d57e5dbb /python/python_test.go
parente3fbadcfee2c9f850661e1acfbf72fe9de7d53f3 (diff)
Consolidate python version properties in mutator
Test: m Bug: 165114590 Change-Id: Iaf874f7098317a52827b113167e3dc1ed044e907
Diffstat (limited to 'python/python_test.go')
-rw-r--r--python/python_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/python_test.go b/python/python_test.go
index 23db24e8f..10b565ae8 100644
--- a/python/python_test.go
+++ b/python/python_test.go
@@ -395,10 +395,11 @@ func expectModule(t *testing.T, ctx *android.TestContext, buildDir, name, varian
if !reflect.DeepEqual(actualPyRunfiles, expectedPyRunfiles) {
testErrs = append(testErrs, errors.New(fmt.Sprintf(
- `binary "%s" variant "%s" has unexpected pyRunfiles: %q!`,
+ `binary "%s" variant "%s" has unexpected pyRunfiles: %q! (expected: %q)`,
base.Name(),
base.properties.Actual_version,
- actualPyRunfiles)))
+ actualPyRunfiles,
+ expectedPyRunfiles)))
}
if base.srcsZip.String() != strings.Replace(expectedSrcsZip, "@prefix@", buildDir, 1) {