관리-도구
편집 파일: test_View.cpython-311.pyc
� �܋f� � �� � d dl mZ G d� dej � � Z G d� de� � Z G d� de� � Z G d� d e� � Z G d � de� � Zdd�Zed k r e� � dS dS )� )�supportc � � e Zd Zd� ZdS )�TestCasec �p � t j � | � � | j j j | _ d S �N)r r �setUp�heapy�UniSet�types)�selfs �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/heapy/test/test_View.pyr zTestCase.setUp s, � �����t�$�$�$��Z�&�,�� � � � N)�__name__� __module__�__qualname__r � r r r r s# � � � � � �-� -� -� -� -r r c �8 � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z dS ) � FirstCasec �J � | j }| j }g }g } ||� � } ||� � }||z }| � |j j | j j k � � | � ||z j j | j j k � � | � |� ||� � � � j | j j k � � | � |� ||� � � � j | j j k � � g }| j j � |gg �� � } ||� � } ~| � | j j t | j j � � � � � k � � | j � � � }| � || � | j � � z | j j � � | � || � | j j � � z | j j � � d S )N)� hiding_tag)�View�iso� assertTrue� referrers�kindr � FrameType�guppy�sets� immnodeset�type�heap�aseq�Use�Nothing�__dict__)r �Vr �a�b�as_�bs�ab�c�chold�cs�hs r �test_cal_hidingzFirstCase.test_cal_hiding s� � ��I���h�� �����c�!�f�f�� �S��V�V�� �2�X�������)�T�Z�-A�A�B�B�B�����r��,�1�T�Z�5I�I�J�J�J�������C�C��F�F�+�+�0�D�J�4H�H�I�I�I�������C�C��F�F�+�+�0�D�J�4H�H�I�I�I� ��� ��*�*� �C�� +� � �� �S��V�V�� ������)�T��J�O�&�&�(�(�.*� .*� *� +� +� +� �I�N�N����� � �!�d�h�h�t�x�(�(�(�$�(�*:�;�;�;�� � �!�d�h�h�t�x�0�1�1�1�4�8�3C�D�D�D�D�Dr c �� � | j }g }|g g}|g}| � ||� � j |||d � � � � | � ||� � j |||d � � j � � | � ||� � j ||� � � � ~| � ||� � j |||d |d d � � � � d S )N� r )r r"