rL i~ddlZddlZddlZddlZddlmZejjdddgdZ dZ y)N)subprocess_run_for_testingbackendwebaggnbaggc2tjd|dk(rtjdttj}t j dk7rd|d<||d<dd |d zd zd |d z}tt jd|g|dy)NtornadorIPythonwin32DISPLAY MPLBACKENDz import os;z$assert os.environ['MPLBACKEND'] == 'z';z!import matplotlib.pyplot as plt; z!print(plt.get_backend());assert 'z' == plt.get_backend().lower();z-cT)envcheck) pytest importorskipdictosenvironsysplatformr executable)rr test_codes j/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/matplotlib/tests/test_backend_webagg.pytest_webagg_fallbackr s  "'I& rzz C ||wIC   0  < = - . ): < <i@cQUVchtjjj}|jJy)N) matplotlibbackendsbackend_webagg_coreFigureManagerWebAgg_toolbar2_class)fms rtest_webagg_core_no_toolbarr#s+    0 0 D DB   %% %r) rrr'matplotlib.backends.backend_webagg_corermatplotlib.testingrmark parametrizerr#rrr)sE .9Xw$78W9W(&r