Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
test_scripts.cpython-313.pyc18 linesDownload Raw Back to __pycache__
1�

2z�j����SrSSKrSSKrSSKrSSKJrJrJr SSK	r	SSK3rSSKJ
r
Jr \"\"\"\R5SS55rSr\	R$R'\SS	9\	R$R)S4S	9\	R$R+S\"55S555r\	R$R'\
S
S	9S5rg)z[Test scripts5 6Test that we can run executable scripts that have been installed with numpy.7�N)�dirname�isfile�join)�IS_WASM�assert_equalz..zsetup.pyc��[RS:Xar[[R5nUR	S5(a![8RRUS5/$[9RRUSS5/$[Rn[UR5n[UR5nSSU-SU-S-U-/$)N�win32�Scripts�f2py�.)�sys�platformr�10executable�endswith�os�pathr�version_info�str�major�minor)�exe_dir�versionrrs    �^D:\code\apps\devtools\python\user_packages\Python313\site-packages\numpy/tests/test_scripts.py�find_f2py_commandsrs���11�|�|�w���#�.�.�)�����I�&�&��G�G�L�L��&�1�2�2��G�G�L�L��)�V�<�=�=��"�"���G�M�M�"���G�M�M�"����������(<�u�(D�E�E�z Cannot test f2py command inplace)�reasonzTest is unreliable�f2py_cmdc��[R"US/5n[UR5[R12R
S55 g)N�-v�ascii)�13subprocess�check_outputr�strip�np�__version__�encode)r�stdouts  r�	test_f2pyr($s8��14�
$�
$�h��%5�
6�F���������!6�!6�w�!?�@rzCannot start subprocessc���[R"[RSS/5n[	UR5[RRS55 g)Nz-mnumpy.f2pyrr )	r!r"r
rrr#r$r%r&)r's r�test_pep338r*-s<��
�
$�
$�c�n�n�n�d�%K�
L�F���������!6�!6�w�!?�@r)�__doc__rr!r
�os.pathrrr�pathjoin�pytest�numpyr$�
numpy.testingrr�__file__�15is_inplacer�mark�skipif�xfail�parametrizer(r*�rr�<module>r8s����16��17�5�5�
��/�
�H�W�R�[�[�1�4��D�
E�18�F�$�����J�'I��J������.��/�������%7�%9�:�A�;�0�K�A������G�$=��>�A�?�Ar
codekingpro/portable-devtools · Team Ai