관리-도구
편집 파일: test_mingw32ccompiler.cpython-311.pyc
� �܋fI � � � 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 �~/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-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