rL iddlZddlmZddlmZddlZddlmZejdZ ejdejddZ y) N)Path)TemporaryDirectory)subprocess_run_for_testingnbformat nbconvert ipykernelcttjdz }t5}t|d}t ddddddd t |t |g it jd |id |j5}tj|tj}ddddddjDcgc]*}|jd gD]}|jdk(r|,}}}|rJddl}|j dddk\rd} nd} |jdd } | dddd| dk(sJy#1swYxYw#1swYxYwcc}}w)Nztest_nbagg_01.ipynbz out.ipynbjupyterrz--tonotebookz --executez!--ExecutePreprocessor.timeout=500z--output IPYTHONDIRT)envcheckoutputserrorr)nbAggdataz text/plain')r__file__parentrrstrosenvironopenrreadcurrent_nbformatcellsget output_typeIPython version_info) nb_pathtmpdirout_pathoutnbcelloutputerrorsr"expected_backendbackend_outputss i/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/matplotlib/tests/test_backend_nbagg.py test_ipynbr/sr8n##&;;G   ? ,"  VZ = XG  652::4|V4   ]]_ ?sH$=$=>B ? ?"$0B8O0f##w.0f0F0:BQ7*%#hhqk),O 1 f %l 3;K:LA7N NN N ? ? ? ?0s*AE %D=&E /E=E E  E) rpathlibrtempfilerpytestmatplotlib.testingr importorskiprr/r.r7sL ' 9 6  z *K K Or6