In some scenario's the test suite hangs when running tests. One scenario in particular that I encounter a lot seems to be the parametrize function from Python pytest.
The bug appears to be introduced with one of the latest commits 79e8968769d4422c08d514a413815bea6c1f67f9.
Additional context
This message appears in :messages. It is slightly different from the issue I was referring to.
.../.local/share/nvim/lazy/nvim-nio/lua/nio/control.lua:133: Future already set
stack traceback:
^I[C]: in function 'error'
^I.../.local/share/nvim/lazy/nvim-nio/lua/nio/control.lua:133: in function 'set_error'
^I.../.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:93: in function 'close_task'
^I.../.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:111: in function 'cb'
^I.../.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:185: in function 'waiter'
^I.../.local/share/nvim/lazy/nvim-nio/lua/nio/control.lua:116: in function 'wake'
^I.../.local/share/nvim/lazy/nvim-nio/lua/nio/control.lua:129: in function 'set'
^I...eotest/lua/neotest/client/strategies/integrated/init.lua:47: in function <...eotest/lua/neotest/client/strategies/integrated/init.lua:45>
NeoVim Version NVIM v0.10.0-dev-2246+gf4b3636f2-Homebrew
Describe the bug This is a separate bug report for the issues mentioned in https://github.com/nvim-neotest/nvim-nio/issues/15. I wanted to create a separate report to avoid high-jacking that issue.
In some scenario's the test suite hangs when running tests. One scenario in particular that I encounter a lot seems to be the
parametrize
function from Pythonpytest
.The bug appears to be introduced with one of the latest commits 79e8968769d4422c08d514a413815bea6c1f67f9.
To Reproduce
minimal.lua
test_bug.py
Steps to reproduce the behavior:
minimal.lua
andtest_bug.py
pytest
in your Python env (python -m pip install pytest
)nvim --clean -u minimal.lua test_bug.py
)<leader>tt
)Expected behavior I expect to see 10 different passing tests.
Logs
neotest.log
Additional context This message appears in
:messages
. It is slightly different from the issue I was referring to.