Skip to content

Commit 8c1b267

Browse files
committed
BUG-23224 Add test
1 parent e72df80 commit 8c1b267

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/arrays/test_integer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ def test_integer_array_constructor_copy():
560560
1.0,
561561
pd.date_range('20130101', periods=2),
562562
np.array(['foo']),
563-
[[1, 2], [3, 4]]])
563+
[[1, 2], [3, 4]],
564+
[np.nan, {'a': 1}]])
564565
def test_to_integer_array_error(values):
565566
# error in converting existing arrays to IntegerArrays
566567
with pytest.raises(TypeError):

0 commit comments

Comments
 (0)