From 0fc6adbf87ae1041ff20f952e7f14adb83d6c8e3 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Sun, 5 Jun 2022 18:50:09 +0000 Subject: [PATCH] TST: Fix build by changing call signature --- numpy/f2py/tests/test_callback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numpy/f2py/tests/test_callback.py b/numpy/f2py/tests/test_callback.py index 335b78413db9..c57a645be4f6 100644 --- a/numpy/f2py/tests/test_callback.py +++ b/numpy/f2py/tests/test_callback.py @@ -116,7 +116,7 @@ def callback(cu, lencu): f = getattr(self.module, "string_callback_array") for cu in [cu1, cu2, cu3]: - res = f(callback, cu, len(cu)) + res = f(callback, cu) assert res == 0 def test_threadsafety(self):