PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
core
/
tests
/
__pycache__
/
Editing: test_limited_api.cpython-311.pyc
� � h� � �� � d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ ej � ed�� � ej � ej d� � d�� � d� � � � � ZdS )� N)�IS_WASMzCan't start subprocess)�reason�Py_DEBUGzMPy_LIMITED_API is incompatible with Py_DEBUG, Py_TRACE_REFS, and Py_REF_DEBUGc �t � t j � t � � }t j � |dd� � }t | dz � � }t j ||� � t | dz � � }t j t j ddddt | dz � � d d |g |�� � dS ) z=Test building a third-party C extension with the limited API.�examples�limited_apiztmp_install_log.txtzsetup.py�build�installz--prefix� installdirz#--single-version-externally-managedz--record)�cwdN)�os�path�dirname�__file__�join�str�shutil�copytree� subprocess�check_output�sys� executable)�tmp_path�here�ext_dir�cytest�install_logs �t/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib64/python3.11/site-packages/numpy/core/tests/test_limited_api.py�test_limited_apir s� � � �7�?�?�8�$�$�D��g�l�l�4��]�;�;�G� ��M�)� *� *�F� �O�G�V�$�$�$� �h�!6�6�7�7�K����N������H�|�3�4�4�1��� � �� � � � � � ) r r r r � sysconfig�pytest� numpy.testingr �mark�skipif�xfail�get_config_varr � r r �<module>r) s� �� � � � � � � � � � � � � � � � � � � � � � � � � !� !� !� !� !� !� ����G�$<��=�=������I��Z�(�(� � � � �� �� � >�=�� � r
SAVE
CANCEL