Sindbad~EG File Manager

Current Path : /proc/2568807/root/usr/local/lib/python3.12/test/__pycache__/
Upload File :
Current File : //proc/2568807/root/usr/local/lib/python3.12/test/__pycache__/test_keyword.cpython-312.opt-1.pyc

�

'Μg��l�ddlZddlZGd�dej�Zedk(rej
�yy)�Nc�N�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
y)
�Test_iskeywordc�L�|jtjd��y)N�True)�
assertTrue�keyword�	iskeyword��selfs �./usr/local/lib/python3.12/test/test_keyword.py�test_true_is_a_keywordz%Test_iskeyword.test_true_is_a_keywords������)�)�&�1�2�c�L�|jtjd��y)N�TRUE��assertFalserr	r
s r�$test_uppercase_true_is_not_a_keywordz3Test_iskeyword.test_uppercase_true_is_not_a_keyword	s������*�*�6�2�3rc�L�|jtjd��y�Nrr
s r� test_none_value_is_not_a_keywordz/Test_iskeyword.test_none_value_is_not_a_keywords������*�*�4�0�1rc��tj}|jttd|�gd�t_|j	tj
d��y)N�kwlist)�its�all�eggs�beans�and�a�slicer)rr�
addCleanup�setattrrr	�r�oldlists  r�2test_changing_the_kwlist_does_not_affect_iskeywordzATest_iskeyword.test_changing_the_kwlist_does_not_affect_iskeywords=���.�.�������(�G�<�M�������*�*�6�2�3rc��tj}|jttd|�gd�t_|j	tj
d��y)N�
softkwlist)�foo�bar�spam�egs�caser))rr&r r!r�
issoftkeywordr"s  r�:test_changing_the_softkwlist_does_not_affect_issoftkeywordzITest_iskeyword.test_changing_the_softkwlist_does_not_affect_issoftkeywords@���$�$�������,��@�B�������.�.�v�6�7rc��tjD].}|jt�5t	|�d��ddd��0y#1swY�;xYw�Nz = 42)rr�assertRaises�SyntaxError�exec�r�keys  r�*test_all_keywords_fail_to_be_used_as_namesz9Test_iskeyword.test_all_keywords_fail_to_be_used_as_namess;���>�>�C��"�"�;�/���u�E�]�#�0�/�"�/�/�s�A�A	c�J�tjD]}t|�d���yr/)rr&r2r3s  r�+test_all_soft_keywords_can_be_used_as_namesz:Test_iskeyword.test_all_soft_keywords_can_be_used_as_names"s ���%�%�C��C�5����&rc��|jdtj�|jdtj�y)N�async�await)�assertInrrr
s r�!test_async_and_await_are_keywordsz0Test_iskeyword.test_async_and_await_are_keywords&s&���
�
�g�w�~�~�.��
�
�g�w�~�~�.rc��|jdtj�|jdtj�|jdtj�|jdtj�y)N�type�matchr+�_)r;rr&r
s r�test_soft_keywordsz!Test_iskeyword.test_soft_keywords*sR���
�
�f�g�0�0�1��
�
�g�w�1�1�2��
�
�f�g�0�0�1��
�
�c�7�-�-�.rc�r�|jttj�tj�yr)�assertListEqual�sortedrrr
s r�test_keywords_are_sortedz'Test_iskeyword.test_keywords_are_sorted0s�����V�G�N�N�3�W�^�^�Drc�r�|jttj�tj�yr)rCrDrr&r
s r�test_softkeywords_are_sortedz+Test_iskeyword.test_softkeywords_are_sorted3s#�����V�G�$6�$6�7��9K�9K�LrN)�__name__�
__module__�__qualname__r
rrr$r-r5r7r<rArErG�rrrrs;��3�4�2�
4�8�$�
 �/�/�E�Mrr�__main__)r�unittest�TestCaserrH�mainrKrr�<module>rPs:����/M�X�&�&�/M�d�z���H�M�M�O�r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists