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
Removing more nose remnants via dependencies. #758
Conversation
48bae7c
to
c0507cb
Compare
c0507cb
to
9c3fc49
Compare
@dec.onlyif_cmds_exist('xelatex') | ||
@dec.onlyif_cmds_exist('pandoc') | ||
@onlyif_cmds_exist('xelatex') | ||
@onlyif_cmds_exist('pandoc') |
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.
This could be combined into one decorator, right?
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.
yep! good call!
nbconvert/tests/test_nbconvertapp.py
Outdated
@dec.onlyif_cmds_exist('xelatex') | ||
@dec.onlyif_cmds_exist('pandoc') | ||
@onlyif_cmds_exist('xelatex') | ||
@onlyif_cmds_exist('pandoc') |
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.
Combine (and another one just below)
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.
yep! good call!
nbconvert/tests/test_nbconvertapp.py
Outdated
@dec.onlyif_cmds_exist('xelatex') | ||
@dec.onlyif_cmds_exist('pandoc') | ||
@onlyif_cmds_exist('xelatex') | ||
@onlyif_cmds_exist('pandoc') |
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.
Combine
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.
yep! good call!
Hooray for shrinking dependencies on genutils! |
It was revealed in #757 super helpfully by @HagaiHargil that we were implicitly relying on nose because we were using ipython_genutils test decorators.
This removes those
ipython_genutils
versions by porting the@onlyif_cmds_exist
decorator and usingpytest.mark
inside of it instead of a bunch of differentnose
bits.