Skip to content

Commit 817e5b8

Browse files
committed
Update tests
1 parent ef933f4 commit 817e5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/integer/test_construction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_to_integer_array_float():
191191

192192
def test_to_integer_array_str():
193193
result = IntegerArray._from_sequence(["1", "2", None], dtype="Int64")
194-
expected = pd.array([1, 2, np.nan], dtype="Int64")
194+
expected = pd.array([1, 2, pd.NA], dtype="Int64")
195195
tm.assert_extension_array_equal(result, expected)
196196

197197
with pytest.raises(

0 commit comments

Comments
 (0)