
    \h
                        S SK r S\ l        S SKJr  S SKrS SKJrJr  S SKJ	r	  S SK
Jr  S SKr S SKr\R                  R                  SSS9  \R                  R!                  S5        \R$                  " S
5      rS rS rS rS rS r\R2                  " SSS9S 5       r\R2                  " SSS9S 5       rg! \ a	    \" S	5      ef = f)    NT)version_tuple)clear_cache	USE_CACHE)GROUND_TYPES)ARCHsympy_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                 (   U R                  S5      nU(       d  g [        R                  U5      nU(       d  [        S5      e[	        [
        UR                  5       5      u  pEUS-
  [        U5      -  U-  U[        U5      -  U-  pvXE:  a  XS 2	 US U2	 g )N--splitz>split must be a string of the form a/b where a and b are ints.   )	getoptionspmatch
ValueErrormapintgroupslen)configitemssplitmitstartends           F/var/www/auris/envauris/lib/python3.13/site-packages/sympy/conftest.pyprocess_splitr      s    Y'E
AO
 	
 sAHHJDAa%3u:%*AE
Na,?3u$Kfuf    c                     S[         -  nUS[        -  -  nSn[        S:X  a  SS KnUR	                  5       nO[        S:X  a   SSKJn  SU S	3nUS[        < SU< S3-  nU$ ! [         a    S
n N"f = f)Nzarchitecture: %s
zcache:        %s
 gmpyr   flint)__version__z(python-flint==)unknownzground types:  
)r   r   r   gmpy2versionr#   r$   ImportError)r   sr*   r)   r$   s        r   pytest_report_headerr-   -   s    t#A			))AGv--/		 	7) (}A6GL'	::AH  	 G	 s   A" "A10A1c                     U R                   R                  SS 5      (       d!  U R                   R                  SS 5      (       a  U R                  SSSSS9  g g )Nerrorfailedr'   zDO *NOT* COMMIT!T)redbold)statsget	write_sep)terminalreporters    r   pytest_terminal_summaryr7   @   sX    !!'4004D4J4J4N4N$5 5 	""3(:4"P5r   c                 (    U R                  SSSSS9  g )Nr   storer!   zsplit tests)actiondefaulthelp)	addoption)parsers    r   pytest_addoptionr?   G   s    
YwOr   c                     [        X5        g)zpytest hook.N)r   )r   r   s     r   pytest_collection_modifyitemsrA   K   s     & r   module)autousescopec                      [        5         g )N)r    r   r   file_clear_cacherG   Q   s    Mr   c                 f   [        U R                  SS5      (       a  [        R                  " S5        g [        U R                  SS5      (       ab  [	        [        R
                  5      [	        S5      :  a;  [        R                  R                  S5      S:w  a  [        R                  " S5        g g g g )	NdisabledFztest requirements not met.ipythonz2.6.3z-snoz0run py.test with -s or upgrade to newer version.)getattrrB   pytestskipr   r$   r   getvalue)requests    r   check_disabledrQ   V   s    w~~z51101	E	2	2 &,,-g0FF&&t,4KKJK 5 G 
3r   )sys_running_pytestsympy.external.importtoolsr   rM   sympy.core.cacher   r   sympy.external.gmpyr   sympy.utilities.miscr   re
hypothesissettingsregister_profileload_profiler+   compiler   r   r-   r7   r?   rA   fixturerG   rQ   rF   r   r   <module>r_      s    
  4  3 , % 		(()Cd(S$$%?@ ZZ)*$&QP! H- . H-	L .	LM  
	` s   9B8 8C