From 170f90e871c9a90c69cf4f308cad4db98b2d3a7e Mon Sep 17 00:00:00 2001 From: Bernie Gray Date: Sat, 25 Jan 2020 12:35:05 -0500 Subject: [PATCH 1/2] xfail sparse warning; closes #31310 --- pandas/tests/io/test_pickle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/tests/io/test_pickle.py b/pandas/tests/io/test_pickle.py index 22c4e38206df6..f269e0763b63c 100644 --- a/pandas/tests/io/test_pickle.py +++ b/pandas/tests/io/test_pickle.py @@ -198,6 +198,7 @@ def test_pickle_path_localpath(): tm.assert_frame_equal(df, result) +@pytest.mark.xfail def test_legacy_sparse_warning(datapath): """ From 944921eec8f78a1cae116e92fe8045b08c14bd7d Mon Sep 17 00:00:00 2001 From: Bernie Gray Date: Sat, 25 Jan 2020 12:52:58 -0500 Subject: [PATCH 2/2] more details in xfail decorator on test_legacy_sparse_warning() --- pandas/tests/io/test_pickle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/io/test_pickle.py b/pandas/tests/io/test_pickle.py index f269e0763b63c..04fd4835469a9 100644 --- a/pandas/tests/io/test_pickle.py +++ b/pandas/tests/io/test_pickle.py @@ -198,7 +198,7 @@ def test_pickle_path_localpath(): tm.assert_frame_equal(df, result) -@pytest.mark.xfail +@pytest.mark.xfail(reason="GitHub issue #31310", strict=False) def test_legacy_sparse_warning(datapath): """