%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib64/python2.7/ctypes/test/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyc

�
5}�ac@s�ddlZddlZddlZejejej�Zejejejej�ZddlZej	ej
�Zdejfd��YZ
dejfd��YZedkr�ej�ndS(i����NtRefcountTestCasecBseZd�Zd�ZRS(cCs�ddlm}tj}tj|_tjtg|_d�}|j	||�d�t|�}|j
||�d�|d|�}|j	|d�d}tj
�|j	||�d�dS(Ni����(tgetrefcountcSs|S(N((tvalue((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pytcallbacksii����i��(tsysRtdllt_testfunc_callback_i_iftctypestc_inttrestypet
MyCallbacktargtypestassertEqualt
assertGreatertNonetgctcollect(tselftgrctfRtcbtresult((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyttest_1
s		
cCs\ddlm}d�}|j||�d�t|�}|j||�d�~|j||�d�tj�|j||�d�dtj	fd��Y}|�}t|�|_
|j||�d�~|j||�d�tj�|j||�d�t|�}|j||�d�||_~tj�|j||�d�dS(Ni����(RcWsdS(N((targs((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pytfunc'sitXcBseZdefgZRS(ta(t__name__t
__module__t
OtherCallbackt_fields_(((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyR8s(RRRRR
tassertGreaterEqualRRRt	StructureRtcycle(RRRRRtx((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyt
test_refcount%s.	
	
	
(RRRR#(((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyRs	tAnotherLeakcBseZd�ZRS(cCs~ddl}tjtjtjtj�}d�}||�}|jtj�}|dd�|j|jtj�|�dS(Ni����cSs||dS(Ni((Rtb((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyRYsii(RRt	CFUNCTYPERRR(RRtprotoRRR((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyt
test_callbackUs	
(RRR((((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyR$Tst__main__(tunittestRRR&RR
tc_ulonglongRt_ctypes_testtCDLLt__file__RtTestCaseRR$Rtmain(((sC/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_refcounts.pyt<module>sI


Zerion Mini Shell 1.0