alfredodeza / pytest.vim

Runs your UnitTests with py.test displaying red/green bars and errors
274 stars 40 forks source link

"Undefined variable: a:3" during looponfail run #62

Closed OddBloke closed 6 years ago

OddBloke commented 6 years ago

When running with :Pytest class looponfail, I see an error when I save the test file:

vim-pytest

This doesn't, AFAICT, actually affect the running of the tests.

alfredodeza commented 6 years ago

I just pushed db2daea041e88d3a5aadd5d79fab8f27f35e9c32 which should fix this. Can you verify it works for you ?

Thanks for reporting this!

OddBloke commented 6 years ago

This has removed that particular error; I'm now observing tests run every time I save, but I'll open a separate issue for that.

Thanks for the quick fix!