-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
xdist: support for --boxed on windows #193
Comments
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): made the tb readable |
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): seems like there should be a better error message |
Original comment by Martin Fiers (BitBucket: martinfiers, GitHub: martinfiers): We also face the same problem right now and need boxed, because our unittests require a clean Python environment (and yes, we know good unittests should be independent, but we use one global object and cannot get around this). Using boxed fixes this problem. Is there any way we could get a similar behavior on Windows? Forking on Windows is afaik not possible. Would it be possible to use multiprocessing to run an additional process that handles the testcases? |
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): not yet and its probably easier to implement this using xdist |
As I understand |
--boxed also has its uses in isolation, there should be a new mode in xdist (but thats like 6-10 months away) |
True! Hmm this seems tricky to implement in Windows using just Any thoughts? |
A test mode that's always collecting a special item should do for xdist still slow tho |
wont fix |
If an expression starts or ends with a bracket and only contains a single delimiter, don't wrap it in additional optional parentheses. We can use the brackets for the split. Fixes pytest-dev#177 Fixes pytest-dev#193
update vagrant config
Originally reported by: Anonymous
executing
py.test --boxed
on Windows failed with the error:
The text was updated successfully, but these errors were encountered: