Skip to content

CLN: Convert last of assert_(x == y) to assertEqual #6308

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

Merged
merged 2 commits into from
Feb 12, 2014
Merged

CLN: Convert last of assert_(x == y) to assertEqual #6308

merged 2 commits into from
Feb 12, 2014

Conversation

bwignall
Copy link
Contributor

@bwignall bwignall commented Feb 8, 2014

Work on #6175. Fixes last of vanilla assert_(x == y) conversions in pandas/tests and pandas/*/tests. Tests still pass locally.

Work on #6175. Fixes last of vanilla assert_(x == y) conversions in pandas/tests and pandas/*/tests. Tests still pass locally.
@bwignall
Copy link
Contributor Author

bwignall commented Feb 8, 2014

The following returns seven results (when run from pandas), but none are in the assert_(x == y) category.

grep -nH --recursive -e 'assert_(.*==' . | grep -v 'all()' | grep -v 'any()'

I will handle the easy '!=' cases and then move to refactoring some of the other ideas discussed in #6175.

Work on #6175. Converts instances in pandas/tests and pandas/*/tests. Tests still pass locally.
jreback added a commit that referenced this pull request Feb 12, 2014
CLN: Convert last of assert_(x == y) to assertEqual
@jreback jreback merged commit 87b4308 into pandas-dev:master Feb 12, 2014
@jreback
Copy link
Contributor

jreback commented Feb 12, 2014

In your next PR can you make an entry in release notes (improvements section), referencing these previous PR's to say that the testing statement were updated (just so their is a record of what changed)

@bwignall
Copy link
Contributor Author

@jreback, thank you, I did this in the PR I submitted a moment ago.

@bwignall bwignall deleted the assert_6175_7 branch February 18, 2014 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants