-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Tests for ABC Types #10859
Tests for ABC Types #10859
Conversation
@DanNi0130 normally you don't need to open a new pull request, just update the existing one. see contribution docs here |
sparse_array = pd.SparseArray(np.random.randn(10)) | ||
|
||
def test_abc_indices(self): | ||
self.assertIsInstance(pd.Index(['a', 'b', 'c']), com.ABCIndex) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the issue number as a comment here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just call this test_abc_types
or something; indicies are very specific
small comment, pls squash. ping when green. |
You want me to add the issue number as a comment in the code? I just fixed the function name. |
yes |
Done! |
as i said. pls squash to a single commit. ping when travis reports green. |
Added tests for ABC Types, Issue pandas-dev#10828 change function name for test_abc_types Issue pandas-dev#10859
merged via 18012f0 thanks! |
closes #10828
I used self.assertIsInstance(obj, type) and inlined as many of the expressions as I could while staying PEP8 compliant. I added in the two tests that I took out, that was an accident. Let me know if this looks okay!