Skip to content

xdist does not color output #133

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

Closed
pytestbot opened this issue Mar 25, 2012 · 6 comments
Closed

xdist does not color output #133

pytestbot opened this issue Mar 25, 2012 · 6 comments
Labels
plugin: xdist related to the xdist external plugin

Comments

@pytestbot
Copy link
Contributor

Originally reported by: Andreas Pelme (BitBucket: pelme, GitHub: pelme)


xdist does not color its output the same way as non xdist invocations to py.test.

See the screen shot for an example run with and without xdist.


@pytestbot
Copy link
Contributor Author

Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt):


the reason is xdist transfering tracebacks as strings instead of something regeneratable

@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


indeed, we need to find a simple enough encoding for the traceback info that allows us to print colored output. Maybe the traceback jrepr should grow an extra attribute that specifies color information (so that the string does not need to get modified and color-unaware tools are not scrambling when reading the information).

@pytestbot pytestbot added the type: enhancement new feature or API change, should be merged into features branch label Jun 15, 2015
@nicoddemus nicoddemus added plugin: xdist related to the xdist external plugin and removed type: enhancement new feature or API change, should be merged into features branch labels Jul 14, 2015
@sutyrin
Copy link

sutyrin commented Jul 22, 2015

bump!

@RonnyPfannschmidt
Copy link
Member

can't be fixed before #111

@sutyrin
Copy link

sutyrin commented Jul 23, 2015

Nevermind, meanwhile I've switcthed to pytest-watch ;)

@RonnyPfannschmidt
Copy link
Member

Closing as duplicate of #111

fkohlgrueber pushed a commit to fkohlgrueber/pytest that referenced this issue Oct 27, 2018
Also, added lambda argument delimiter skipping.

Fixes pytest-dev#133
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: xdist related to the xdist external plugin
Projects
None yet
Development

No branches or pull requests

4 participants