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

unittest skip tests, expected failures (etc) may not be recognised by unittest2 #60

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

If a developer is using Python 2.7, but using unittest2 as a test runner, then 
unittest skips (and expected failures) may not be recognised.

If these exceptions are defined by unittest then unittest2 should reuse rather 
than redefining them.

Original issue reported on code.google.com by fuzzyman on 2 Apr 2011 at 12:48

@GoogleCodeExporter
Copy link
Author

Here is a patch that adds two test showing the issue.

Original comment by [email protected] on 14 Jan 2013 at 5:22

Attachments:

@GoogleCodeExporter
Copy link
Author

Is this a good solution? It makes all the tests pass.

Original comment by [email protected] on 14 Jan 2013 at 5:28

Attachments:

@GoogleCodeExporter
Copy link
Author

Yep, that patch looks like the right fix. Thanks!

Original comment by fuzzyman on 14 Jan 2013 at 5:31

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

1 participant