Skip to content

Commit 86ac2bb

Browse files
fix: separate runner args (#62)
1 parent 27a2676 commit 86ac2bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/neotest-python/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ function PythonNeotestAdapter.build_spec(args)
155155
if pytest_discover_instances then
156156
table.insert(script_args, "--emit-parameterized-ids")
157157
end
158+
159+
table.insert(script_args, "--")
158160
vim.list_extend(script_args, get_args(runner, position, args.strategy))
159161
if args.extra_args then
160162
vim.list_extend(script_args, args.extra_args)

0 commit comments

Comments
 (0)