관리-도구
편집 파일: test_cython.cpython-311.pyc
� �܋f' � �L � d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dl Z d dl mZ d dl mZ dZ ej e� � ej e� � k rdZ n # e$ r dZ Y nw xY wej � e du d�� � Zej d� � � Zd � Zd � Zd� Zd� Zd � Zd� ZdS )� N)�IS_WASM)�version)�_pep440z0.29.30zrequires cython)�reasonc � � t rt j d� � t j � t � � }t j � |dd� � }t |dz � � }t j ||� � t |dz � � }t j t j dddd t |d z � � dd|g |� � � t |� � 5 }|D ]D}d|v r>t j � t j � |� � � � n�Et# d|� d�� � � d d d � � d S # 1 swxY w Y d S )Nz No subprocess�examples�cython�cytestztmp_install_log.txtzsetup.py�build�installz--prefix� installdirz#--single-version-externally-managedz--record)�cwd�checkszcould not parse "�")r �pytest�skip�os�path�dirname�__file__�join�str�shutil�copytree� subprocess�check_output�sys� executable�open�append�RuntimeError)�request�tmp_path�here�ext_dirr �install_log�fid�lines �o/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/core/tests/test_cython.py�install_tempr* s� � � � %���O�$�$�$� �7�?�?�8�$�$�D��g�l�l�4��X�6�6�G� ��H�$� %� %�F� �O�G�V�$�$�$� �h�!6�6�7�7�K����N������H�|�3�4�4�1��� � �� � � � �k� � � C�c�� C� C�D��4������������ 5� 5�6�6�6��� � �A�;�A�A�A�B�B�B� � C� C� C� C� C� C� C� C� C� C� C� C���� C� C� C� C� C� Cs �"AE�E�Ec �� � dd l }|� t j d� � � � sJ �|� t j dd� � � � sJ �|� t j dd� � � � sJ �|� d� � rJ �|� d � � rJ �|� d� � rJ �|� t j dd� � � � rJ �d S ) Nr �� �ns�NaT� �foo�now�s)r �is_td64�np�timedelta64� datetime64�r* r s r) �test_is_timedelta64_objectr8 G s� � ��M�M�M��>�>�"�.��.�.�/�/�/�/�/��>�>�"�.��t�4�4�5�5�5�5�5��>�>�"�.���5�5�6�6�6�6�6��~�~�a� � � � � ��~�~�d�#�#�#�#�#��~�~�e�$�$�$�$�$��~�~�b�m�E�3�7�7�8�8�8�8�8�8�8� c � � dd l }|� t j dd� � � � sJ �|� t j dd� � � � sJ �|� d� � rJ �|� d � � rJ �|� d� � rJ �|� t j d� � � � rJ �d S )Nr r, r- r. r/ r0 )r �is_dt64r4 r6 r5 r7 s r) �test_is_datetime64_objectr<