
    J/Ph+                     X    d Z ddlmZ ddlmZ d Zd Zd Zedk    r e             dS dS )	z Numba's POWER ON SELF TEST script. Used by CI to check:
0. That Numba imports ok!
1. That Numba can find an appropriate number of its own tests to run.
2. That Numba can manage to correctly compile and execute at least one thing.
    )test_runtests)njitc                  T    t          j                    } |                                  d S N)r   TestCasetest_default)	test_insts    O/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numba/misc/POST.py_check_runtestsr   
   s(    &((I    c                  r    t           d             }  | d          }|dk    rd| d}t          |          d S )Nc                     | dz   S )N    )xs    r
   fooz#_check_cpu_compilation.<locals>.foo   s    1ur   r      z<Unexpected result from trial compilation. Expected: 2, Got: .)r   AssertionError)r   resultmsgs      r
   _check_cpu_compilationr      sa    	  
T SVVF{{.$*. . .S!!! {r   c                  >    t                       t                       d S r   )r   r   r   r   r
   checkr      s     r   __main__N)	__doc__numba.testsr   numbar   r   r   r   __name__r   r   r
   <module>r       s    
 & % % % % %        

" 
" 
"  
 z	EGGGGG r   