Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_exception_variations.cpython-311.pyc |
�
�Ke�6 � � � d dl Z G d� de j � � Z G d� de j � � Zedk r e j � � dS dS )� Nc �h � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� ZdS )�ExceptTestCasesc �� � d}d}d} t d� � �# d}Y nxY w d}n# d}w xY w| � |� � | � |� � | � |� � d S �NFznyaa!T�� Exception�
assertTrue�assertFalse��self�
hit_except�hit_else�hit_finallys �H/usr/local/apps/python3/lib/python3.11/test/test_exception_variations.py�test_try_except_else_finallyz,ExceptTestCases.test_try_except_else_finally s� � ��
����� ��G�$�$�$�� ��J�J�J����J� �K�K��$�K��������
�#�#�#�����$�$�$�����"�"�"�"�"s � ��$ �(c � � d}d}d} d}n # d}Y nxY wd}n# d}w xY w| � |� � | � |� � | � |� � d S �NFT�r
r r s r �)test_try_except_else_finally_no_exceptionz9ExceptTestCases.test_try_except_else_finally_no_exception s� � ��
����� �� �H�H�� ��J�J�J���� �K�K��$�K���������$�$�$�����$�$�$�����!�!�!�!�!s � �� �c � � d}d} t d� � �# d}Y nxY w d}n# d}w xY w| � |� � | � |� � d S �NFzyarr!T�r r �r r
r s r �test_try_except_finallyz'ExceptTestCases.test_try_except_finally) su � ��
��� ��G�$�$�$�� ��J�J�J����J��K�K��$�K��������
�#�#�#�����$�$�$�$�$s � ��"