Skip to content

ENH: Add new specialized asserts for tests #6376

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 1 commit into from
Feb 17, 2014
Merged

ENH: Add new specialized asserts for tests #6376

merged 1 commit into from
Feb 17, 2014

Conversation

bwignall
Copy link
Contributor

Work on #6175. Add versions of asserts (assertIs, assertIsNone, assertIn, plus complements) that were added in 2.7

Work on #6175. Add versions of asserts (assertIs, assertIsNone, assertIn, plus complements) that were added in 2.7
@bwignall
Copy link
Contributor Author

This is meant to be API-compatible versions of some assertions that were added in 2.7 (http://docs.python.org/2/library/unittest.html), that would be useful for cleaning up #6175.

I am open to suggestions; putting this out as an experiment. Many of the current assert_'s could be specialized to the new asserts that were added in 2.7, but since pandas currently supports 2.6+, I figured it would be easier to add (versions of) the new asserts to the testing module.

jreback added a commit that referenced this pull request Feb 17, 2014
ENH: Add new specialized asserts for tests
@jreback jreback merged commit 35a03eb into pandas-dev:master Feb 17, 2014
@jreback
Copy link
Contributor

jreback commented Feb 17, 2014

@bwignall that's all fine....compat is good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants