Skip to content

Commit 6116e35

Browse files
committed
fix(#209): use getfullargspec
.. to replace deprecated `getargspec`. Fixes #209
1 parent c70f388 commit 6116e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sciunit/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ def fn_kwargs(callable):
730730
731731
"""
732732
fn = get_fn(callable)
733-
(args, _, _, defaults) = inspect.getargspec(fn)
733+
(args, _, _, defaults, _, _, _) = inspect.getfullargspec(fn)
734734
if defaults is None:
735735
return {}
736736
return dict(list(zip(reversed(args), reversed(defaults))))

0 commit comments

Comments
 (0)