Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/test/__pycache__/test_keyword.cpython-38.opt-2.pyc
U

>��g��@s6ddlZddlZGdd�dej�Zedkr2e��dS)�Nc@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�Test_iskeywordcCs|�t�d��dS)N�True)Z
assertTrue�keyword�	iskeyword��self�r�0/opt/cppython/lib/python3.8/test/test_keyword.py�test_true_is_a_keywordsz%Test_iskeyword.test_true_is_a_keywordcCs|�t�d��dS)N�TRUE��assertFalserrrrrr	�$test_uppercase_true_is_not_a_keyword	sz3Test_iskeyword.test_uppercase_true_is_not_a_keywordcCs|�t�d��dS�Nrrrrr	� test_none_value_is_not_a_keywordsz/Test_iskeyword.test_none_value_is_not_a_keywordcCs>tj}|�ttd|�dddddddgt_|�t�d��dS)	N�kwlistZits�allZeggsZbeans�and�a�slice)rrZ
addCleanup�setattrr
r)rZoldlistrrr	�2test_changing_the_kwlist_does_not_affect_iskeywordszATest_iskeyword.test_changing_the_kwlist_does_not_affect_iskeywordc
Cs4tjD](}|�t��t|�d��W5QRXqdS)Nz = 42)rrZassertRaises�SyntaxError�exec)r�keyrrr	�*test_all_keywords_fail_to_be_used_as_namess
z9Test_iskeyword.test_all_keywords_fail_to_be_used_as_namescCs |�dtj�|�dtj�dS)N�async�await)ZassertInrrrrrr	�!test_async_and_await_are_keywordssz0Test_iskeyword.test_async_and_await_are_keywordscCs|�ttj�tj�dSr)ZassertListEqual�sortedrrrrrr	�test_keywords_are_sorted sz'Test_iskeyword.test_keywords_are_sortedN)
�__name__�
__module__�__qualname__r
rrrrrr rrrr	rsr�__main__)rZunittestZTestCaserr!�mainrrrr	�<module>s

F1le Man4ger