Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
test_cpp.cpython-312.pyc
� x�/i� � � � d dl mZ d dl mZ d dlZd dlZd dlZddlmZ ddlmZ ddlm Z G d� d e� Z ed k( r ej � yy)� )�print_function)�absolute_importN� )�_test_extension_cpp)�TestCase)�WINc �\ � e Zd Zd� Zd� Zd� Zd� Z ej e d� d� � Z d� Zy) �CPPTestsc � � g }t d� D ]G }t j t j � }|j |� |j |� �I t |� D ]% \ }}| j |j � |� �' y )N� )�range�greenletr �test_exception_switch�switch�append� enumerate�assertEqual)�self� greenlets�i�gs �H/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/test_cpp.pyr zCPPTests.test_exception_switch sp � �� ��q��A��!�!�"5�"K�"K�L�A� �H�H�Q�K����Q�� � �i�(�D�A�q����Q�X�X�Z��+� )� c �R � dd l }dd l}|j j |j j t � d� }|j |t |t � s|j n|g}|}| j t j � 5 }t j |dt j �� d d d � j }| j! � } | j# |j$ | � | j# d|j&