Skip to content

Commit

Permalink
BUG-23224 Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinZhengBC committed Oct 25, 2018
1 parent e72df80 commit 8c1b267
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/arrays/test_integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ def test_integer_array_constructor_copy():
1.0,
pd.date_range('20130101', periods=2),
np.array(['foo']),
[[1, 2], [3, 4]]])
[[1, 2], [3, 4]],
[np.nan, {'a': 1}]])
def test_to_integer_array_error(values):
# error in converting existing arrays to IntegerArrays
with pytest.raises(TypeError):
Expand Down

0 comments on commit 8c1b267

Please sign in to comment.