HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/numpy/distutils/tests/__pycache__/test_mingw32ccompiler.cpython-310.pyc
o

6��aI�@sNddlZddlZddlZddlZddlmZejjejdkdd�dd��Z	dS)�N)�mingw32ccompiler�win32zwin32 only test)�reasonc
Cs�z	t�ddg�}Wntyt�d�Ynw||�d�d�}tjdkr1d|vr0td|��n
d	|vr;td
|��t	�
�\}}|rKt�||d�zt	�
�W|r]t�|d|�dSdS|rjt�|d|�ww)zmTest the mingw32ccompiler.build_import_library, which builds a
    `python.a` from the MSVC `python.lib`
    znm.exez--helpz)'nm.exe' not on path, is mingw installed?ssupported targets:Nlspe-i386zd'nm.exe' found but it does not support 32-bit dlls when using 32-bit python. Supported formats: '%s's	pe-x86-64zd'nm.exe' found but it does not support 64-bit dlls when using 64-bit python. Supported formats: '%s'z.bak)�
subprocess�check_output�FileNotFoundError�pytest�skip�find�sys�maxsize�
ValueErrorr�_check_for_import_lib�shutil�move�build_import_library)�out�	supported�has_import_lib�fullpath�r�M/usr/lib/python3/dist-packages/numpy/distutils/tests/test_mingw32ccompiler.py�test_build_import	s4�
���
��r)
rrrr�numpy.distutilsr�mark�skipif�platformrrrrr�<module>s