Skip to content

Commit 672629c

Browse files
committed
last fixes.
1 parent 91d65a0 commit 672629c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytask/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def pytask_collect_file(
140140
warnings.warn(
141141
message=_PARAMETRIZE_DEPRECATION_WARNING,
142142
category=FutureWarning,
143-
stacklevel=2,
143+
stacklevel=1,
144144
)
145145

146146
names_and_objects = session.hook.pytask_parametrize_task(

0 commit comments

Comments
 (0)