Skip to content

Commit 6bac7e4

Browse files
TomAugspurgerjreback
authored andcommitted
TST: Remove invalid dtype test (#20370)
This test was not valid. Not every dtype kind is a valid dtype. For example, the dtype may be 'uint64', but the kind is 'u'.
1 parent 7ed9f2a commit 6bac7e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/tests/extension/base/interface.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ def test_array_interface(self, data):
3232
result = np.array(data)
3333
assert result[0] == data[0]
3434

35-
def test_as_ndarray_with_dtype_kind(self, data):
36-
np.array(data, dtype=data.dtype.kind)
37-
3835
def test_repr(self, data):
3936
ser = pd.Series(data)
4037
assert data.dtype.name in repr(ser)

0 commit comments

Comments
 (0)