Skip to content

Commit

Permalink
TST: run setitem tests for IntegerArray (pandas-dev#24054)
Browse files Browse the repository at this point in the history
* TST: run setitem tests for IntegerArray

* doc-string
  • Loading branch information
jreback authored and Pingviinituutti committed Feb 28, 2019
1 parent 4346de4 commit a7ea2ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pandas/core/arrays/integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ def numpy_dtype(self):
def kind(self):
return self.numpy_dtype.kind

@cache_readonly
def itemsize(self):
""" Return the number of bytes in this dtype """
return self.numpy_dtype.itemsize

@classmethod
def construct_array_type(cls):
"""Return the array type associated with this dtype
Expand Down
4 changes: 4 additions & 0 deletions pandas/tests/extension/test_integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ class TestGetitem(base.BaseGetitemTests):
pass


class TestSetitem(base.BaseSetitemTests):
pass


class TestMissing(base.BaseMissingTests):
pass

Expand Down

0 comments on commit a7ea2ba

Please sign in to comment.