Edit File: test_scripts.cpython-311.pyc
� ����o�dm����������������������������d�Z�ddlZddlZddlZddlmZmZmZ�ddl Z ddl Zddlm Z mZ��e�e�eej��������������������dd������������������������Zd��Zej�����������������������������ed� ������������ej�����������������������������d � ������������ej�����������������������������d�e��������������������������d��������������������������������������������Zej�����������������������������ed � ������������d����������������ZdS�)z\ Test scripts Test that we can run executable scripts that have been installed with numpy. �����N)�join�isfile�dirname)�assert_equal�IS_WASMz..zsetup.pyc�����������������������t�����������j��������dk����rqt����������t�����������j��������������������}�|����������������������d������������r!t ����������j�����������������������������|�d������������gS�t ����������j�����������������������������|�dd������������gS�t�����������j��������}t����������|j ��������������������}t����������|j��������������������}dd|z���d|z���dz���|z���gS�)N�win32�Scripts�f2py�.)�sys�platformr���� executable�endswith�os�pathr����version_info�str�major�minor)�exe_dir�versionr���r���s��� �k/builddir/build/BUILD/cloudlinux-venv-1.0.2/venv/lib64/python3.11/site-packages/numpy/tests/test_scripts.py�find_f2py_commandsr������s������� �|�w����#�.�)�)�����I�&�&�� >��G�L�L��&�1�1�2�2��G�L�L��)�V�<�<�=�=���"���G�M�"�"���G�M�"�"����������(<�u�(D�E�E�����z Cannot test f2py command inplace)�reasonzTest is unreliable�f2py_cmdc�����������������������t����������j��������|�dg������������}t����������|�����������������������������������t����������j�����������������������������d�������������������������d�S�)N�-v�ascii)� subprocess�check_outputr����strip�np�__version__�encode)r����stdouts��� r���� test_f2pyr(���#���sG������ �� $�h��%5� 6� 6�F���������!6�!6�w�!?�!?�@�@�@�@�@r���zCannot start subprocessc�������������������������t����������j��������t����������j��������ddg������������}�t ����������|������������������������������������t����������j�����������������������������d�������������������������d�S�)Nz-mnumpy.f2pyr���r ���) r!���r"���r ���r���r���r#���r$���r%���r&���)r'���s��� r����test_pep338r*���,���sI������ � $�c�n�n�d�%K� L� L�F���������!6�!6�w�!?�!?�@�@�@�@�@r���)�__doc__r ���r����pytest�os.pathr����pathjoinr���r���r!����numpyr$���� numpy.testingr���r����__file__� is_inplacer����mark�skipif�xfail�parametrizer(���r*�����r���r����<module>r8������sr��������� � � �� � � � �� � � � ��5��5��5��5��5��5��5��5��5��5������������������/��/��/��/��/��/��/��/� �V�H�H�W�W�R�[�1�1�D�*�E�E� F� F� �F��F��F�$�����J�'I��J�J�����.��/�/������%7�%7�%9�%9�:�:�A��A��;�:��0�/��K�J�A������G�$=��>�>�A��A��?�>�A��A��Ar���