You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by mb...@apache.org on 2022/05/01 21:36:19 UTC
[systemds] branch main updated: [MINOR] Fix python test for scale (handling of named arguments)
This is an automated email from the ASF dual-hosted git repository.
mboehm7 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new 2087445754 [MINOR] Fix python test for scale (handling of named arguments)
2087445754 is described below
commit 2087445754b3352e13fe42724fe2884cc21ac0f7
Author: Matthias Boehm <mb...@gmail.com>
AuthorDate: Sun May 1 23:21:33 2022 +0200
[MINOR] Fix python test for scale (handling of named arguments)
---
src/main/python/tests/source/test_source_list.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/python/tests/source/test_source_list.py b/src/main/python/tests/source/test_source_list.py
index 02e63e9b61..dc868916a8 100644
--- a/src/main/python/tests/source/test_source_list.py
+++ b/src/main/python/tests/source/test_source_list.py
@@ -47,7 +47,7 @@ class TestSource_01(unittest.TestCase):
def test_input_multireturn(self):
m = self.sds.full((10, 10), 2)
- [a, b, c] = scale(m, True, True)
+ [a, b, c] = scale(m, center=True, scale=True)
arr = self.sds.array(a, b, c)
c = self.sds.source(self.source_path, "test").func(arr)
res = c.sum().compute()