Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_startfile.cpython-311.opt-1.pyc
�

�Ke����ddlZddlmZddlmZddlZddlZddlZddlmZej	ed��Z
ejej��d��Gd�dej
����Z
ed	krej��dSdS)
�N)�support)�	os_helper)�path�	startfilezAstarting files is not supported on Windows IoT Core or nanoserverc� �eZdZd�Zd�Zd�ZdS)�TestCasec�H�|�ttd��dS)Nznonexisting.vbs)�assertRaises�OSErrorr)�selfs �=/usr/local/apps/python3/lib/python3.11/test/test_startfile.py�test_nonexistingzTestCase.test_nonexistings!�����'�9�.?�@�@�@�@�@�c��tjtjtj����5tjtjt��d��}t|��t|d��ddd��n#1swxYwYt|tjtj�����dS)Nz	empty.vbs�open)�cwd)	r�
change_cwdr�dirname�sys�
executable�join�__file__r)r�emptys  r
�
test_emptyzTestCase.test_emptys���
�
!�$�,�s�~�">�">�
?�
?�	%�	%��I�d�l�8�4�4�k�B�B�E��e�����e�V�$�$�$�	%�	%�	%�	%�	%�	%�	%�	%�	%�	%�	%����	%�	%�	%�	%�	�%�T�\�#�.�9�9�:�:�:�:�:�:s�AB	�	B
�B
c��tjtj��\}}t	|d|���t	|d|d���dS)Nz-V)�	argumentsrr)rr�show_cmd)r�splitrrr)rr�names   r
�test_pythonzTestCase.test_python%sK���J�s�~�.�.�	��T��$�$�C�0�0�0�0��$�$�C�!�<�<�<�<�<�<rN)�__name__�
__module__�__qualname__rrr �rr
rrsD������A�A�A�	;�	;�	;�=�=�=�=�=rr�__main__)�unittest�testr�test.supportr�os�platformrr�
get_attributer�skipIf�win32_is_iotrr!�mainr$rr
�<module>r/s�������������"�"�"�"�"�"�	�	�	�	�����
�
�
�
�������!�G�!�"�k�2�2�	����&��&�(�(�*m�n�n�=�=�=�=�=�x� �=�=�o�n�=�,�z����H�M�O�O�O�O�O��r