Skip to content

Commit e0b468f

Browse files
committed
fixup! xfail one more test
1 parent 83d8140 commit e0b468f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pandas/tests/reshape/test_reshape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def test_dataframe_dummies_preserve_categorical_dtype(self):
643643
class TestGetDummiesSparse(TestGetDummies):
644644
sparse = True
645645

646-
@pytest.mark.xfail(reason='nan in index is problematic')
646+
@pytest.mark.xfail(reason='nan in index is problematic (GH 16894)')
647647
def test_include_na(self):
648648
super(TestGetDummiesSparse, self).test_include_na()
649649

pandas/tests/sparse/test_frame.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,8 @@ def test_as_blocks(self):
10951095
assert list(df_blocks.keys()) == ['float64']
10961096
tm.assert_frame_equal(df_blocks['float64'], df)
10971097

1098-
@pytest.mark.xfail(reason='nan column names in _init_dict problematic')
1098+
@pytest.mark.xfail(reason='nan column names in _init_dict problematic '
1099+
'(GH 16894)')
10991100
def test_nan_columnname(self):
11001101
# GH 8822
11011102
nan_colname = DataFrame(Series(1.0, index=[0]), columns=[nan])

0 commit comments

Comments
 (0)