-
Notifications
You must be signed in to change notification settings - Fork 1.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
Fix python setup.py test
won't actually download test dependencies
#833
Conversation
Oh, it's more than just replacing PyTest base class, close for now. |
:sad: |
@wooparadog mmm couldn't you add all deps from |
@benoitc but tests don't need sphinx nor sphinx_rtd_theme... |
@benoitc oh, and by the way, all deps in |
user_options = [ | ||
("cov", None, "measure coverage") | ||
] | ||
|
||
def initialize_options(self): | ||
TestCommand.initialize_options(self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to not using super()
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah...it's an old style class...
LGTM. @berkerpeksag ok for you too? |
LGTM too, I've squashed the commits and merged in 2753aac. Thanks @wooparadog :) |
See http://pytest.org/latest/goodpractises.html#integration-with-setuptools-test-commands