RayaneQH
RayaneQH

Reputation: 29

Debugpy don't work "no suitable test method found"

I have installed neovim as my IDE and i configured it with this video "the perfect neovim setup with python" from 'Dreams of code" but the when i enter 'space+dpr' i have the messege "no suitable test method found" How can i solve it. 2 . When i write :checkhealth i have "WARNING {nvim-lspconfig}: overriding <config>"

Has it a relation with the problem above

I have tried every thing , i searched in github in Reddit and nothing found

Upvotes: 3

Views: 262

Answers (1)

brablc
brablc

Reputation: 1791

It seems to me that your test file must have at least one class/method: https://github.com/mfussenegger/nvim-dap-python/blob/master/lua/dap-python.lua#L395

I solved the problem for me just by putting all the code into a def and calling that function.

Upvotes: 0

Related Questions