o
    ×Ëhé  ã                   @   sæ  d dl ZG dd„ dƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZ	eej d¡ƒZ
eej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZeej d¡ƒZdZ dd„ Z!dS )é    Nc                   @   s   e Zd Zddd„Zdd„ ZdS )Ú_MockFunctionNc                 C   s   d| _ || _g i f| _d S )Nr   )Únumber_callsÚreturn_valueÚ	last_args)Úselfr   © r   úW/var/www/html/scripts/venv/lib/python3.10/site-packages/scipy/fft/tests/mock_backend.pyÚ__init__   s   z_MockFunction.__init__c                 O   s   |  j d7  _ ||f| _| jS )Né   )r   r   r   )r   ÚargsÚkwargsr   r   r   Ú__call__	   s   
z_MockFunction.__call__©N)Ú__name__Ú
__module__Ú__qualname__r	   r   r   r   r   r   r      s    
r   é
   znumpy.scipy.fftc                 C   s(   t ƒ  | j¡}|d ur||i |¤ŽS tS r   )ÚglobalsÚgetr   ÚNotImplemented)Úmethodr   r   Úfnr   r   r   Ú__ua_function__8   s   ÿr   )"ÚnumpyÚnpr   ÚrandomÚfftÚfft2ÚfftnÚifftÚifft2ÚifftnÚrfftÚrfft2ÚrfftnÚirfftÚirfft2ÚirfftnÚhfftÚhfft2ÚhfftnÚihfftÚihfft2ÚihfftnÚdctÚidctÚdctnÚidctnÚdstÚidstÚdstnÚidstnÚfhtÚifhtÚ__ua_domain__r   r   r   r   r   Ú<module>   s@    