Skip to content

Commit 349ca0a

Browse files
committed
Fix existing tests
1 parent 9a2a053 commit 349ca0a

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

pandas/tests/arrays/test_integer.py

+3-13
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,9 @@ def test_integer_array_constructor():
527527

528528
@pytest.mark.parametrize('a, b', [
529529
([1, None], [1, np.nan]),
530-
pytest.param([None], [np.nan],
531-
marks=pytest.mark.xfail(reason='GH-23224',
532-
strict=True)),
530+
([None], [np.nan]),
531+
([None, np.nan], [np.nan, np.nan]),
532+
([np.nan, np.nan], [np.nan, np.nan]),
533533
])
534534
def test_integer_array_constructor_none_is_nan(a, b):
535535
result = integer_array(a)
@@ -601,16 +601,6 @@ def test_to_integer_array_float():
601601
assert result.dtype == Int64Dtype()
602602

603603

604-
@pytest.mark.parametrize(
605-
'result, expected',
606-
[
607-
(integer_array([None]), integer_array([np.nan])),
608-
(integer_array([None, np.nan]), integer_array([np.nan, np.nan])),
609-
(integer_array([np.nan, np.nan]), integer_array([np.nan, np.nan]))])
610-
def test_to_integer_array_none(result, expected):
611-
tm.assert_extension_array_equal(result, expected)
612-
613-
614604
@pytest.mark.parametrize(
615605
'values, to_dtype, result_dtype',
616606
[

0 commit comments

Comments
 (0)