Skip to content

Conversation

@sinhrks
Copy link
Member

@sinhrks sinhrks commented Feb 7, 2016

Closes #11584.

Because many existing tests expects assert_almost_equal to compare pandas instances, it looks better to call appropriate test functions rather than raise.

I've also fixed some failure cases caused by the change (comparing Series and list, etc).

@sinhrks sinhrks added the Testing pandas testing functions or related to the test suite label Feb 7, 2016
@sinhrks sinhrks added this to the 0.18.0 milestone Feb 7, 2016
Copy link
Contributor

Choose a reason for hiding this comment

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

print

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, removed.

Copy link
Contributor

Choose a reason for hiding this comment

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

were these just not being checked before?

@jreback
Copy link
Contributor

jreback commented Feb 8, 2016

just a small question

@jreback jreback closed this in b6f0292 Feb 12, 2016
@sinhrks sinhrks deleted the assert_almost branch February 27, 2016 05:39
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.

util.testing.assert_almost_equal() gives Key Error

2 participants