diff --git a/pandas/tests/io/test_pickle.py b/pandas/tests/io/test_pickle.py index 22c4e38206df6..04fd4835469a9 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(reason="GitHub issue #31310", strict=False) def test_legacy_sparse_warning(datapath): """