Skip to content

Commit 6b36d55

Browse files
committed
TST: Remove xfail/skip marks from Sparse.where tests
1 parent 1cbb4a8 commit 6b36d55

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

pandas/tests/sparse/test_frame.py

-12
Original file line numberDiff line numberDiff line change
@@ -1410,8 +1410,6 @@ def test_numpy_func_call(self):
14101410
[nan, nan]
14111411
]
14121412
])
1413-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1414-
'(GH 17386)')
14151413
def test_where_with_numeric_data(self, data):
14161414
# GH 17386
14171415
lower_bound = 1.5
@@ -1443,8 +1441,6 @@ def test_where_with_numeric_data(self, data):
14431441
0.1,
14441442
100.0 + 100.0j
14451443
])
1446-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1447-
'(GH 17386)')
14481444
def test_where_with_numeric_data_and_other(self, data, other):
14491445
# GH 17386
14501446
lower_bound = 1.5
@@ -1460,8 +1456,6 @@ def test_where_with_numeric_data_and_other(self, data, other):
14601456
tm.assert_frame_equal(result, dense_expected)
14611457
tm.assert_sp_frame_equal(result, sparse_expected)
14621458

1463-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1464-
'(GH 17386)')
14651459
def test_where_with_bool_data(self):
14661460
# GH 17386
14671461
data = [[False, False], [True, True], [False, False]]
@@ -1483,8 +1477,6 @@ def test_where_with_bool_data(self):
14831477
0.1,
14841478
100.0 + 100.0j
14851479
])
1486-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1487-
'(GH 17386)')
14881480
def test_where_with_bool_data_and_other(self, other):
14891481
# GH 17386
14901482
data = [[False, False], [True, True], [False, False]]
@@ -1501,8 +1493,6 @@ def test_where_with_bool_data_and_other(self, other):
15011493
tm.assert_frame_equal(result, dense_expected)
15021494
tm.assert_sp_frame_equal(result, sparse_expected)
15031495

1504-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1505-
'(GH 17386)')
15061496
def test_quantile(self):
15071497
# GH 17386
15081498
data = [[1, 1], [2, 10], [3, 100], [nan, nan]]
@@ -1518,8 +1508,6 @@ def test_quantile(self):
15181508
tm.assert_series_equal(result, dense_expected)
15191509
tm.assert_sp_series_equal(result, sparse_expected)
15201510

1521-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1522-
'(GH 17386)')
15231511
def test_quantile_multi(self):
15241512
# GH 17386
15251513
data = [[1, 1], [2, 10], [3, 100], [nan, nan]]

pandas/tests/sparse/test_series.py

-10
Original file line numberDiff line numberDiff line change
@@ -1430,8 +1430,6 @@ def test_deprecated_reindex_axis(self):
14301430
nan, nan
14311431
]
14321432
])
1433-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1434-
'(GH 17386)')
14351433
def test_where_with_numeric_data(self, data):
14361434
# GH 17386
14371435
lower_bound = 1.5
@@ -1463,9 +1461,6 @@ def test_where_with_numeric_data(self, data):
14631461
0.1,
14641462
100.0 + 100.0j
14651463
])
1466-
@pytest.mark.skip(reason='Wrong SparseBlock initialization '
1467-
'(Segfault) '
1468-
'(GH 17386)')
14691464
def test_where_with_numeric_data_and_other(self, data, other):
14701465
# GH 17386
14711466
lower_bound = 1.5
@@ -1480,8 +1475,6 @@ def test_where_with_numeric_data_and_other(self, data, other):
14801475
tm.assert_series_equal(result, dense_expected)
14811476
tm.assert_sp_series_equal(result, sparse_expected)
14821477

1483-
@pytest.mark.xfail(reason='Wrong SparseBlock initialization '
1484-
'(GH 17386)')
14851478
def test_where_with_bool_data(self):
14861479
# GH 17386
14871480
data = [False, False, True, True, False, False]
@@ -1503,9 +1496,6 @@ def test_where_with_bool_data(self):
15031496
0.1,
15041497
100.0 + 100.0j
15051498
])
1506-
@pytest.mark.skip(reason='Wrong SparseBlock initialization '
1507-
'(Segfault) '
1508-
'(GH 17386)')
15091499
def test_where_with_bool_data_and_other(self, other):
15101500
# GH 17386
15111501
data = [False, False, True, True, False, False]

0 commit comments

Comments
 (0)