| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python315/Lib/test/test_capi/__pycache__/ |
Upload File : |
R
>lqjSp c � � ] PH s ] PHs] PHs] PHs] PHs] PHs] QHGs ] QH G s G
s
] QH,GsG
s
] QH8GsGs ] QHDGs ]QHLGs \ O* Q2 s\ O* Q2 sPs Q Q
\2 s Q Q\O6 2 s Q
Q\O6 2 s Q Q\O6 2 s Q Q\2 s Q Q\O6 2 s! Q Q\\O6 2 s"\#Q6X c \OH 2 P! P! )� )�support)�
import_helper�force_not_colorized)�TESTFN�TESTFN_UNDECODABLE)�assert_python_failure�assert_python_ok)�ExceptionIsLikeMixin)�
decode_stderr� _testcapi�_testinternalcapic � � \ sQ s]sQsP! )�CustomError� ��__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r � �3C:\Python315\\Lib\test\test_capi\test_exceptions.pyr r s � �r r c �@ ` � \ sQ s]s n Q sQ sQ sQ sQ sQs U s
P! )�Test_Exceptionsc � � [ Q 2 o[ Q2 o Ug [ c� o[ O 2 o[
O
S2 o[ O 2 o[
O
S2 o[ O 2 oS O XS2 S O XQ2 S O XE2 S O X�2 S O Xr2 S O Xg2 Po=P! Po=hh 9 h��5�TEST)�
ValueError� TypeError�fail�sys� exceptionr �
set_exception�assertEqual) �self�raised_exception�new_exc�e�orig_sys_exception�orig_exception�new_sys_exception�
new_exception�reset_sys_exceptions & r �test_exception�Test_Exceptions.test_exception s� � �%�c�?���F�#�� .�"�"���
?�!$�����&�4�4�W�=�N� #�
�
���%�3�3�N�C�M�"%�-�-�/�����^�/����^�>����/�@����0�A����]�4����.�>�>��
?�s � � D �D �CC;�;D c �z � [ Q 2 o[ Q2 o Ug [ Cc oSO o[ O
2 o[ O SO SP2 o[ O
2 o[ O S o[ O
2 o S O S]* S2 S O XaO X12 S O XV2 S O X�2 S O X�O SP12 S O Xx2 Po=P! Po=hh 9 hr )r r �
assertTrue�
__traceback__r! �exc_infor �set_exc_info� __class__r$ �assertSequenceEqual)
r% r&