This is an automated email from the ASF dual-hosted git repository.
shunping pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new f014f5aa053 Update test case for numpy 2.4.6 (#40692)
f014f5aa053 is described below
commit f014f5aa0539175141902a9216d4285c120e689c
Author: Jack McCluskey <[email protected]>
AuthorDate: Tue Oct 20 14:04:23 2026 -0400
Update test case for numpy 2.4.6 (#40692)
---
sdks/python/apache_beam/ml/transforms/base_test.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdks/python/apache_beam/ml/transforms/base_test.py
b/sdks/python/apache_beam/ml/transforms/base_test.py
index 64d0afe955d..c7b904c0944 100644
--- a/sdks/python/apache_beam/ml/transforms/base_test.py
+++ b/sdks/python/apache_beam/ml/transforms/base_test.py
@@ -150,8 +150,8 @@ class BaseMLTransformTest(unittest.TestCase):
),
param(
input_data=[{
- 'x': np.array([1], dtype=np.int64),
- 'y': np.array([2.0], dtype=np.float32),
+ 'x': np.int64(1),
+ 'y': np.float32(2.0),
}],
input_types={
'x': np.int32, 'y': np.float32