| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 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/numpy/distutils/tests/__pycache__/ |
Upload File : |
�
���cI � � � d dl Z d dlZd dlZd dlZd dlmZ ej � ej dk d�� � d� � � Z dS )� N)�mingw32ccompiler�win32zwin32 only test)�reasonc �2 � t j ddg� � } n$# t $ r t j d� � Y nw xY w| | � d� � d� }t j dk rd|vrt d|z � � �nd |vrt d
|z � � �t j
� � \ }}|rt j ||dz � � t j
� � |rt j |dz |� � dS dS # |rt j |dz |� � w w xY w)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?s supported targets:Nl s pe-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�fullpaths �M/usr/lib/python3/dist-packages/numpy/distutils/tests/test_mingw32ccompiler.py�test_build_importr s} � �A��%�x��&:�;�;����� A� A� A���?�@�@�@�@�@�A�����C�H�H�2�3�3�4�4�5�I�
�{�U����Y�&�&�� -�/8�9� :� :�
:� '�
�Y� &� &�� )�+4�5� 6� 6� 6� 0�E�G�G��N�H�� 1���H�h��/�0�0�0�5��-�/�/�/� � 5��K��6�)�8�4�4�4�4�4� 5� 5��>� 5��K��6�)�8�4�4�4�4� 5���s � �:�:�C9 �9D)
r r r
r
�numpy.distutilsr �mark�skipif�platformr � � r �<module>r s� ��
�
�
�
� � � � �
�
�
�
�
�
�
�
� ,� ,� ,� ,� ,� ,� ����C�L�G�+�4E��F�F� 5� 5� G�F� 5� 5� 5r