K i ddlZde_ddlmZddlZddlmZmZddlm Z ddl m Z ddl Z ddl Z e jjdde jj!de j$d Zd Zd Zd ZdZdZej2dddZej2dddZy#e$r ed wxYw)NT) version_tuple) clear_cache USE_CACHE) GROUND_TYPES)ARCHsympy_hypothesis_profile)deadlinezhypothesis is a required dependency to run the SymPy test suite. Install it with 'pip install hypothesis' or 'conda install -c conda-forge hypothesis'z([0-9]+)/([1-9][0-9]*)c|jd}|sytj|}|s tdt t |j \}}|dz t|z|z|t|z|z}}||kr||d=|d|=y)N--splitz>split must be a string of the form a/b where a and b are ints.) getoptionspmatch ValueErrormapintgroupslen)configitemssplitmitstartends T/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sympy/conftest.py process_splitrs   Y 'E  A  O   sAHHJ DAqa%3u:%*AE Na,?3E1u #$K fuf cdtz}|dtzz }d}tdk(rddl}|j }ntdk(r ddlm}d|d }|d td |d z }|S#t$rd }YwxYw)Nzarchitecture: %s zcache: %s gmpyrflint) __version__z(python-flint==)unknownzground types:   )rrrgmpy2versionr#r$ ImportError)rsr*r)r$s rpytest_report_headerr--st#A  ))AGv--/   7 )( }A6GL' ::A H  G sA A,+A,c|jjdds|jjddr|jddddyy)Nerrorfailedr'zDO *NOT* COMMIT!T)redbold)statsget write_sep)terminalreporters rpytest_terminal_summaryr7@sP!!'404D4J4J4N4N$5 ""3(:4"P5rc.|jddddy)Nr storer!z split tests)actiondefaulthelp) addoption)parsers rpytest_addoptionr?Gs YwOrct||y)z pytest hook.N)r)rrs rpytest_collection_modifyitemsrAKs&% rmodule)autousescopecty)N)rrrfile_clear_cacherGQsMrcJt|jddrtjdyt|jddr_t tj t dkr9tj jddk7rtjdyyyy) NdisabledFztest requirements not met.ipythonz2.6.3z-snoz0run py.test with -s or upgrade to newer version.)getattrrBpytestskiprr$rgetvalue)requests rcheck_disabledrQVs}w~~z51 01 E 2 &,, - g0F F &&t,4 KKJ K5 G 3r)sys_running_pytestsympy.external.importtoolsrrMsympy.core.cacherrsympy.external.gmpyrsympy.utilities.miscrre hypothesissettingsregister_profile load_profiler+compilerrr-r7r?rAfixturerGrQrFrrr_s 4 3,%  (()Cd(S$$%?@RZZ)*$ &QP! H-.H- L. LM  ` s