Testing testpysasplot_utils ... FAILED Message: will run ./testpysasplot_utils for no longer than 600 seconds. ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.2.2, pluggy-1.5.0 -- /sasbuild/tools/python-3.10.6/bin/python3 cachedir: .pytest_cache rootdir: /sasbuild/build/sas_20240619/packages/pysasplot_utils plugins: anyio-4.4.0 collecting ... collected 8 items test_pysasplot_utils.py::test_2dplot PASSED [ 12%] test_pysasplot_utils.py::test_1d_hist PASSED [ 25%] test_pysasplot_utils.py::test_table PASSED [ 37%] test_pysasplot_utils.py::test_get_time_deltas PASSED [ 50%] test_pysasplot_utils.py::test_TSrebin PASSED [ 62%] test_pysasplot_utils.py::test_load_pickled_fig FAILED [ 75%] test_pysasplot_utils.py::test_merge_pdf PASSED [ 87%] test_pysasplot_utils.py::test_plot_image PASSED [100%] =================================== FAILURES =================================== ____________________________ test_load_pickled_fig _____________________________ def test_load_pickled_fig(): > figs = pysasplt.load_figures(['test.fig.pickle']) test_pysasplot_utils.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib/python/pysas/pysasplot_utils/pysasplot_utils.py:318: in load_figures unpickled = pickle.load(f) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = state = {'exception_handler': } def __setstate__(self, state): > cid_count = state.pop('_cid_gen') E KeyError: '_cid_gen' /sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/matplotlib/cbook.py:204: KeyError =============================== warnings summary =============================== test/test_pysasplot_utils.py::test_merge_pdf /sasbuild/build/sas_20240619/lib/python/pysas/pysasplot_utils/pysasplot_utils.py:678: DeprecationWarning: PdfMerger is deprecated and will be removed in pypdf 5.0.0. Use PdfWriter instead. merger = PdfMerger() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_pysasplot_utils.py::test_load_pickled_fig - KeyError: '_cid_gen' ==================== 1 failed, 7 passed, 1 warning in 4.08s ==================== Error while running ./testpysasplot_utils ERROR: one of the tests failed