📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-27 11:47:21
📂
/
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
✏️
Editing: test_gc.cpython-312.pyc
� Zr*jj � �f � d dl Z d dlZd dlZddlmZ ddlmZ ej sJ � G d� de� Zy)� N� )�TestCase)�fails_leakcheckc �. � e Zd Zd� Zd� Zd� Zed� � Zy)�TestGCc � � t j t j t j � j � � }t j � |� �$dd l}t d|j |� � � | j |� � | j t j t j � y )Nr zO IS NOT NONE.) �weakref�ref�greenlet� getcurrent�switch�gc�collect�sys�print�getrefcount�assertIsNone�assertFalse�garbage)�self�or s �G/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/test_gc.py�test_dead_circular_refzTestGC.test_dead_circular_ref s{ � ��K�K��)�)�(�*=�*=�>�E�E�G�H�� � � ���3�?���"�C�O�O�A�C�$8�9����!�#��������R�Z�Z�0� c �, � G d� dt j � } |� }||_ t j |� }t j � | j |� � | j t j t j � y )Nc � � e Zd ZdZy)�8TestGC.test_circular_greenlet.<locals>.circular_greenletN)�__name__� __module__�__qualname__r � r r �circular_greenletr s � ��Dr r"