Skip to content

Commit

Permalink
TST: Fix build by changing call signature
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Jun 5, 2022
1 parent 5bdeb35 commit bcbd02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/f2py/tests/test_callback.py
Expand Up @@ -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, cu.size)
assert res == 0

def test_threadsafety(self):
Expand Down

0 comments on commit bcbd02b

Please sign in to comment.