We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5de1f2 commit 5e8c1a4Copy full SHA for 5e8c1a4
pandas/tests/extension/integer/test_integer.py
@@ -697,7 +697,7 @@ def test_to_integer_array_error(values):
697
698
def test_to_integer_array_float():
699
result = integer_array([1., 2.])
700
- expected = integer_array([1, 2])
+ expected = integer_array(np.array([1, 2], dtype='int64'))
701
tm.assert_extension_array_equal(result, expected)
702
703
with pytest.raises(TypeError, match="cannot safely cast non-equivalent"):
0 commit comments