New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: test runner fails in Windows if filenames contain spaces. #2016
Conversation
Is there a reason we can't just replace |
@takluyver that should be fine; in particular, subprocess works as expected in #1888; this here was just a quick patch from a year ago, cherry-picked just now for comparing with #1888 failures. |
@takluyver Actually, as-is I think would be safe for 0.13, since this is an extremely conservative PR. The change to subprocess is better in theory but is more fundamental, so should happen later. |
Reinforcing my previous comment: when I change this PR to use subprocess, at least one additional test fails (IPython.core's "testing of issue ... 1107") referenced here. |
I agree with going careful and conservative here, and delay a fundamentally better but possibly more disruptive change to |
Besides that, I think it's fine. |
@takluyver It's a bit muddled, but I don't think we need to check for single quotes. A few observations:
|
Thanks @jdmarch . I'm happy with this, then. I'll merge it now. |
BUG: test runner fails in Windows if filenames contain spaces.
BUG: test runner fails in Windows if filenames contain spaces.
In Windows test runner, inserts quotes around command line filenames with spaces when possible.
Workaround for #760 until #1888 is ready.