opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
8.78 KB
Rename
Delete
fail_clearing_run_switches.cpython-312.pyc
2.01 KB
Rename
Delete
fail_cpp_exception.cpython-312.pyc
1.55 KB
Rename
Delete
fail_initialstub_already_started.cpython-312.pyc
3.38 KB
Rename
Delete
fail_slp_switch.cpython-312.pyc
1.25 KB
Rename
Delete
fail_switch_three_greenlets.cpython-312.pyc
1.66 KB
Rename
Delete
fail_switch_three_greenlets2.cpython-312.pyc
2.50 KB
Rename
Delete
fail_switch_two_greenlets.cpython-312.pyc
1.63 KB
Rename
Delete
leakcheck.cpython-312.pyc
11.27 KB
Rename
Delete
test_contextvars.cpython-312.pyc
14.93 KB
Rename
Delete
test_cpp.cpython-312.pyc
3.97 KB
Rename
Delete
test_extension_interface.cpython-312.pyc
7.25 KB
Rename
Delete
test_gc.cpython-312.pyc
4.79 KB
Rename
Delete
test_generator.cpython-312.pyc
2.97 KB
Rename
Delete
test_generator_nested.cpython-312.pyc
7.56 KB
Rename
Delete
test_greenlet.cpython-312.pyc
73.10 KB
Rename
Delete
test_greenlet_trash.cpython-312.pyc
6.59 KB
Rename
Delete
test_leaks.cpython-312.pyc
18.97 KB
Rename
Delete
test_stack_saved.cpython-312.pyc
1.29 KB
Rename
Delete
test_throw.cpython-312.pyc
7.16 KB
Rename
Delete
test_tracing.cpython-312.pyc
13.26 KB
Rename
Delete
test_version.cpython-312.pyc
2.47 KB
Rename
Delete
test_weakref.cpython-312.pyc
2.65 KB
Rename
Delete
� !��g�. � �z � d dl mZ d dlZd dlZd dlZd dlmZ d dlZd dlZej j d� Zej j d� xs eZej j d� Z exs e Zej j d� Zexs ej j d� Zej j d � Zej j d � Zd� Zd� Z G d � de� Z eed� r G d� de� Z e� e_ eZnd� Z G d� de� Z G d� de� Zd� Zy)� )�print_functionN)�wraps�GITHUB_ACTIONS�TRAVIS�APPVEYOR�GREENLET_MANYLINUX�GREENLET_SKIP_LEAKCHECKS� GREENLET_SKIP_FAILING_LEAKCHECKS� GREENLET_ONLY_FAILING_LEAKCHECKSc � � d| _ | S )a� Ignore the given object during leakchecks. Can be applied to a method, in which case the method will run, but will not be subject to leak checks. If applied to a class, the entire class will be skipped during leakchecks. This is intended to be used for classes that are very slow and cause problems such as test timeouts; typically it will be used for classes that are subclasses of a base class and specify variants of behaviour (such as pool sizes). T)�ignore_leakcheck��funcs �I/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/leakcheck.py�ignores_leakcheckr L s � � !�D���K� c �V � d| _ t r t j d� | � } | S )z2 Mark that the function is known to leak. TzSkipping known failures)�fails_leakcheck�SKIP_FAILING_LEAKCHECKS�unittest�skipr s r r r [ s* � � �D���7�x�}�}�6�7��=���Kr c � � e Zd Zy)�LeakCheckErrorN)�__name__� __module__�__qualname__� r r r r d s � �r r � getobjectsc � � e Zd Zd� Zd� Zy)�_MockGCc �, � t j d� S )Nr )�sysr ��selfs r �get_objectsz_MockGC.get_objectsl s � ��>�>�!�$�$r c �"