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

unittest2 or unittest #9

Open
jaivikram opened this issue Dec 17, 2011 · 0 comments
Open

unittest2 or unittest #9

jaivikram opened this issue Dec 17, 2011 · 0 comments

Comments

@jaivikram
Copy link

https://github.com/Saaspire/sharpy/blob/master/tests/product_tests.py#L5
from unittest.case import SkipTest

I think the docs should say that the alias unittest actually refers to unittest2
Depending on which testing library is installed on a users system - unittest or unittest2 the line should change

if the user has just unittest2 and the alias unitest refers to that, its okay

but if the user has unittest and unittest2 then the line should change to

from unittest2.case import SkipTest

what do you think sean?

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