관리-도구
편집 파일: test_RefPat.cpython-311.pyc
� �܋fC � �� � d dl mZ d dlZd dlZd dlZd dlZ G d� dej � � Z G d� de� � Z G d� de� � Zdd �Z d � Z edk r e � � dS dS ) � )�supportNc � � e Zd Zd� Zd� Zd� ZdS )�TestCasec � � t j � | � � | j j | _ | j j | _ d S �N)r r �setUp�heapy�RefPat�Use�iso)�selfs �o/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/heapy/test/test_RefPat.pyr zTestCase.setUp s4 � �����t�$�$�$��j�'����8�<����� c �P � g }g }t |� � D ]}|� |g� � �|g|z }t |dz � � D ]\}g }t |� � D ]F}g }|� |� � t |� � D ]} |� || � � ��G|}�]|} | |fS )N� )�range�append)r �width�length�dst�ls�i�xs�j�ys�k�srcs r � makegraphzTestCase.makegraph s� � � �� ���u��� � �A��I�I�s�e������U�U�]���v�a�x��� � �A��B��5�\�\� %� %����� � �"� � � ��u��� %� %�A��I�I�b��e�$�$�$�$�%��B�B����C�x�r c � � | j }|� ||� � } ||� � j dd|i|��}d� |j j j _ |S )Nr c � � dS )Nz <address>� )�as r �<lambda>zTestCase.rp.<locals>.<lambda>- s � �+� r r! )r �get_rp�mod�UniSet�summary_str�str_address)r r r �kwdsr �rps r r* zTestCase.rp( sV � ��h���?��#�c�(�(�C� �S�S��X�X�_� -� -�� -�� -� -��0E�0E��� �!�-�� r N)�__name__� __module__�__qualname__r r r* r! r r r r sA � � � � � � � � � � � �4� � � � r r c �&