File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test_heapq.cpython-312.opt-1.pyc
�
�h�e�A � � � d Z ddlZddlZddlZddlmZ ddlmZmZ ddlm Z ej ddg�� Z ej ddg� � Zg d
�Z
G d� de� Zd
� Z G d� d� Z G d� dee� Z eed� G d� dee� � Z G d� d� Z G d� d� Zd� Z G d� d� Z G d� d� Z G d� d� Z G d � d!� Z G d"� d#� Z G d$� d%� Z G d&� d'� Zdd(lmZ d)� Z G d*� d+� Z G d,� d-� Z! G d.� d/e!e� Z" eed� G d0� d1e!e� � Z#e$d2k( r ejJ � yy)3zUnittests for heapq.� N)�
import_helper)�TestCase�
skipUnless)�
itemgetter�heapq�_heapq)�blocked)�fresh)�heapify�heappop�heappush�heappushpop�heapreplace�_heappop_max�_heapreplace_max�_heapify_maxc �0 � e Zd Zd� Z eed� d� � Zy)�TestModulesc �n � t D ], }| j t t |� j d� �. y )Nr )�
func_names�assertEqual�getattr�py_heapq�
__module__��self�fnames �6/opt/alt/python312/lib64/python3.12/test/test_heapq.py�test_py_functionszTestModules.test_py_functions s0 � �� K�E����W�X�u�5�@�@�'�J� K� �requires _heapqc �n � t D ], }| j t t |� j d� �. y )Nr )r r r �c_heapqr r s r �test_c_functionszTestModules.test_c_functions s0 � �� K�E����W�W�e�4�?�?��J� Kr N)�__name__r �__qualname__r r r# r$ � r r r r s&