Skip to content

Commit ba6b416

Browse files
authored
hotfix: wrong warning argument name level
1 parent a366f85 commit ba6b416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitransforms/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def apply(self, *args, **kwargs):
338338
message = (
339339
"The `apply` method is deprecated. Please use `nitransforms.resampling.apply` instead."
340340
)
341-
warnings.warn(message, DeprecationWarning, level=2)
341+
warnings.warn(message, DeprecationWarning, stacklevel=2)
342342
from .resampling import apply
343343

344344
return apply(self, *args, **kwargs)

0 commit comments

Comments
 (0)