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/unittest/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


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

@��g��@s:ddlZddlmZGdd�dej�Zedkr6e��dS)�N)�
LoggingResultc@sLeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)�Test_FunctionTestCasecCs"t�dd��}|�|��d�dS)NcSsdS�N�rrr�B/opt/cppython/lib/python3.8/unittest/test/test_functiontestcase.py�<lambda>�z;Test_FunctionTestCase.test_countTestCases.<locals>.<lambda>�)�unittest�FunctionTestCase�assertEqualZcountTestCases��self�testrrr�test_countTestCases
sz)Test_FunctionTestCase.test_countTestCasescs`g�t��}�fdd�}�fdd�}�fdd�}ddd	d
g}t�|||��|�|��|�dS)Ncs��d�td��dS)N�setUpzraised by setUp��append�RuntimeErrorr��eventsrrrs
zHTest_FunctionTestCase.test_run_call_order__error_in_setUp.<locals>.setUpcs��d�dS�Nr�rrrrrrszGTest_FunctionTestCase.test_run_call_order__error_in_setUp.<locals>.testcs��d�dS�N�tearDownrrrrrr!szKTest_FunctionTestCase.test_run_call_order__error_in_setUp.<locals>.tearDown�	startTestr�addError�stopTest�rr
r�runr�r�resultrrrZexpectedrrr�#test_run_call_order__error_in_setUpsz9Test_FunctionTestCase.test_run_call_order__error_in_setUpcsdg�t��}�fdd�}�fdd�}�fdd�}ddd	d
ddg}t�|||��|�|��|�dS)
Ncs��d�dS�Nrrrrrrr3szGTest_FunctionTestCase.test_run_call_order__error_in_test.<locals>.setUpcs��d�td��dS�Nrzraised by testrrrrrr6s
zFTest_FunctionTestCase.test_run_call_order__error_in_test.<locals>.testcs��d�dSrrrrrrr:szJTest_FunctionTestCase.test_run_call_order__error_in_test.<locals>.tearDownrrrrrrrr rrr�"test_run_call_order__error_in_test/s�z8Test_FunctionTestCase.test_run_call_order__error_in_testcsfg�t��}�fdd�}��fdd�}�fdd�}ddd	d
ddg}t�|||��|����|�dS)
Ncs��d�dSr#rrrrrrMszITest_FunctionTestCase.test_run_call_order__failure_in_test.<locals>.setUpcs��d���d�dSr$)rZfailr�rrrrrPs
zHTest_FunctionTestCase.test_run_call_order__failure_in_test.<locals>.testcs��d�dSrrrrrrrTszLTest_FunctionTestCase.test_run_call_order__failure_in_test.<locals>.tearDownrrrrZ
addFailurerrr rr&r�$test_run_call_order__failure_in_testIs�z:Test_FunctionTestCase.test_run_call_order__failure_in_testcsdg�t��}�fdd�}�fdd�}�fdd�}ddd	d
ddg}t�|||��|�|��|�dS)
Ncs��d�dSr#rrrrrrgszKTest_FunctionTestCase.test_run_call_order__error_in_tearDown.<locals>.setUpcs��d�dSrrrrrrrjszJTest_FunctionTestCase.test_run_call_order__error_in_tearDown.<locals>.testcs��d�td��dS)Nrzraised by tearDownrrrrrrms
zNTest_FunctionTestCase.test_run_call_order__error_in_tearDown.<locals>.tearDownrrrrrrrr rrr�&test_run_call_order__error_in_tearDowncs
�z<Test_FunctionTestCase.test_run_call_order__error_in_tearDowncCs"t�dd��}|�|��t�dS)NcSsdSrrrrrrr}rz/Test_FunctionTestCase.test_id.<locals>.<lambda>)r
rZassertIsInstance�id�strr
rrr�test_id|szTest_FunctionTestCase.test_idcCs"t�dd��}|�|��d�dS)NcSsdSrrrrrrr�rzKTest_FunctionTestCase.test_shortDescription__no_docstring.<locals>.<lambda>�r
rrZshortDescriptionr
rrr�#test_shortDescription__no_docstring�sz9Test_FunctionTestCase.test_shortDescription__no_docstringcCs*d}tjdd�|d�}|�|��d�dS)Nzthis tests foocSsdSrrrrrrr�rzSTest_FunctionTestCase.test_shortDescription__singleline_docstring.<locals>.<lambda>)�descriptionr,)rZdescrrrr�+test_shortDescription__singleline_docstring�szATest_FunctionTestCase.test_shortDescription__singleline_docstringN)�__name__�
__module__�__qualname__rr"r%r'r(r+r-r/rrrrrsr�__main__)r
Zunittest.test.supportrZTestCaserr0�mainrrrr�<module>s


F1le Man4ger