alfredodeza / pytest.vim

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

Running :Pytest file fails on files with spaces in their paths #40

Closed D-Vaillant closed 8 years ago

D-Vaillant commented 8 years ago

On Windows 10, GVim: ERROR: file not found: C:\Users\David File is located at C:\Users\David Vaillant\Programming\etc\etc.py.

Seems like it's a space-escaping issue?

alfredodeza commented 8 years ago

@D-Vaillant can you try using commit f76b2010ca486f54ec23b5f00cb511247d9196cf (in escaped-paths branch) and see if that fixes your problem? Thanks!

D-Vaillant commented 8 years ago

I switched to using commit f76b201 but no change.

On Fri, Jun 24, 2016 at 5:50 AM, Alfredo Deza notifications@github.com wrote:

@D-Vaillant https://github.com/D-Vaillant can you try using commit f76b201 https://github.com/alfredodeza/pytest.vim/commit/f76b2010ca486f54ec23b5f00cb511247d9196cf (in escaped-paths branch) and see if that fixes your problem? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alfredodeza/pytest.vim/issues/40#issuecomment-228337273, or mute the thread https://github.com/notifications/unsubscribe/AIvM3VPv01yGceuR9l8UUFBpbmLCl90Yks5qO9KygaJpZM4I9c08 .

alfredodeza commented 8 years ago

@D-Vaillant can you try that actual branch? I found an issue with my one commit (and pushed 8245c63df5cbd0344f0f133542d970d170752ff4 )

D-Vaillant commented 8 years ago

Seems like that did it!