diff --git a/pandas/tests/io/pytables/test_categorical.py b/pandas/tests/io/pytables/test_categorical.py index 177abdeedb88b..4928a70f90960 100644 --- a/pandas/tests/io/pytables/test_categorical.py +++ b/pandas/tests/io/pytables/test_categorical.py @@ -17,7 +17,14 @@ ensure_clean_store, ) -pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented] +pytestmark = [ + pytest.mark.single, + td.skip_array_manager_not_yet_implemented, + # pytables https://github.com/PyTables/PyTables/issues/822 + pytest.mark.filterwarnings( + "ignore:a closed node found in the registry:UserWarning" + ), +] def test_categorical(setup_path): diff --git a/setup.cfg b/setup.cfg index 610b30e4422a9..8cdec8ab9feed 100644 --- a/setup.cfg +++ b/setup.cfg @@ -137,6 +137,7 @@ xfail_strict = True filterwarnings = error:Sparse:FutureWarning error:The SparseArray:FutureWarning + ignore:unclosed transport