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
~
/
proc
/
self
/
root
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
File Name : test_gc.cpython-312.pyc
� x�/ik � �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)�GCTestsc � � 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_refzGCTests.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)�9GCTests.test_circular_greenlet.<locals>.circular_greenletN)�__name__� __module__�__qualname__r � r r �circular_greenletr s � ��Dr r"