1jddlZddlZddlZddlZddlZddlZddlmZej edej ej dddZ dS)N)IS_WASMzCan't start subprocess)reasonPy_DEBUGzMPy_LIMITED_API is incompatible with Py_DEBUG, Py_TRACE_REFS, and Py_REF_DEBUGc ttjt}tj|dd}t |dz }t j||t |dz }tj tj ddddt |dz d d |g | d S) z=Test building a third-party C extension with the limited API.examples limited_apiztmp_install_log.txtzsetup.pybuildinstallz--prefix installdirz#--single-version-externally-managedz--record)cwdN) ospathdirname__file__joinstrshutilcopytree subprocess check_outputsys executable)tmp_pathhereext_dircytest install_logs u/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib64/python3.11/site-packages/numpy/core/tests/test_limited_api.pytest_limited_apir s 7??8 $ $Dgll4];;G M) * *F OGV$$$h!6677K N    H|344 1          ) r rrr sysconfigpytest numpy.testingrmarkskipifxfailget_config_varrr rr)s   !!!!!!G$<==IZ(( >=r