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

TST: add message matches to pytest.raises in test_duplicate_labels.py GH30999 #37114

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

theMogget
Copy link
Contributor

@theMogget theMogget commented Oct 14, 2020

Reference #30999

  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

Hello! This is my first PR here. I followed the steps in the contributing guidelines here, but I didn't see anything about git diff upstream/master -u -- "*.py" | flake8 --diff.

When I run the command locally, with origin/master, it returns no output. I get fatal with upstream/master. Is that expected, and if it isn't, could anyone advise on how to resolve the issue please?

Thank you!

Copy link
Member

@arw2019 arw2019 left a comment

Choose a reason for hiding this comment

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

Thanks @theMogget for the PR!

Looks good to me.

Regarding flake8 you're good - Continuous Integration checks this and it's all green. For future, however, the relevant section of the contributor docs is here

Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

Thanks @theMogget lgtm

@theMogget
Copy link
Contributor Author

Thanks both for the quick reviews. :)

@arw2019 thanks for the specific link too, it's really helpful! The amount of information is a bit overwhelming sometimes.

@charlesdong1991 charlesdong1991 added Code Style Code style, linting, code_checks Testing pandas testing functions or related to the test suite labels Oct 14, 2020
@charlesdong1991 charlesdong1991 added this to the 1.2 milestone Oct 14, 2020
@charlesdong1991 charlesdong1991 merged commit 850979b into pandas-dev:master Oct 14, 2020
@charlesdong1991
Copy link
Member

thanks @theMogget very nice!

JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Oct 26, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants