Skip to content
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

"assert" ignores exit code and standard error output. #11

Open
kareman opened this issue Nov 26, 2014 · 1 comment
Open

"assert" ignores exit code and standard error output. #11

kareman opened this issue Nov 26, 2014 · 1 comment

Comments

@kareman
Copy link

kareman commented Nov 26, 2014

Is it possible to implement a mode which makes any unit test fail if it outputs anything to standard error or has an exit code different from 0?

An excellent project by the way, it comes in very handy.

@lehmannro
Copy link
Owner

Good suggestion, I think the non-zero exit code in assert is straight-forward. For assert_raises I'm not so sure. Maybe as a flag if it's not too convoluted an implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants