Skip to content

Commit 378589d

Browse files
Terji PetersenTerji Petersen
Terji Petersen
authored and
Terji Petersen
committed
NotImplementedError II
1 parent 88b6370 commit 378589d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexes/numeric/test_numeric.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ class TestFloat16Index:
476476
# GH 49535
477477
def test_array(self):
478478
arr = np.array([1, 2, 3], dtype=np.float16)
479-
with pytest.raises(TypeError, match="float16 indexes are not supported"):
479+
msg = "float16 indexes are not implemented"
480+
with pytest.raises(NotImplementedError, match=msg):
480481
NumericIndex(arr)
481482

482483

0 commit comments

Comments
 (0)