summaryrefslogtreecommitdiff
path: root/python/python_test.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2020-11-06 01:29:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-06 01:29:25 +0000
commit4e4798b7c1cf817b5b0577291e2673dd99fc9d81 (patch)
treec5559258da0b95626a58a5632329af53a2cbcdee /python/python_test.go
parentb0a713acf918d87137cb8cfe7de77d47c111f483 (diff)
parent7e93e5b001cd410ea9418a19d33931ede6d4901c (diff)
Merge "Consolidate python version properties in mutator"
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) {