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

ENH: expose test runner raise_warnings option #7611

Merged
merged 1 commit into from
May 9, 2016
Merged

ENH: expose test runner raise_warnings option #7611

merged 1 commit into from
May 9, 2016

Conversation

mattip
Copy link
Member

@mattip mattip commented May 8, 2016

my first pull request, useful to turn Deprecated errors into warnings

@@ -109,6 +109,9 @@ def main(argv):
parser.add_argument("--bench-compare", action="store", metavar="COMMIT",
help=("Compare benchmark results to COMMIT. "
"Note that you need to commit your changes first!"))
parser.add_argument("--raise_warnings", default=None, type=str,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use - instead of _ for consistency with other flags.

@njsmith
Copy link
Member

njsmith commented May 8, 2016

Otherwise lgtm

@charris
Copy link
Member

charris commented May 9, 2016

Might want to squash the commits and follow the commit message guidelines in doc/source/dev/gitwash/development_workflow.rst. Do git rebase -i HEAD^^ and follow directions to edit the last two commits, then do a force push to origin, git push -f origin <your branch>.

@charris charris merged commit 502476e into numpy:master May 9, 2016
@charris
Copy link
Member

charris commented May 9, 2016

Thanks @mattip .

@charris charris changed the title expose test runner raise_warnings option ENH: expose test runner raise_warnings option May 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants