Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/GIMP 2/lib/python2.7/ctypes/test/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/GIMP 2/lib/python2.7/ctypes/test/test_random_things.pyo

�
”�dc@s�ddlTddlZddlZd�Zejejdkd�dejfd��Y�Zdejfd	��YZe	d
kr�ej
�ndS(i����(t*NcCsd|t|��dS(Ni*(t
ValueError(targ((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyt
callback_funcstwin32sWindows-specific testtcall_function_TestCasecBseZd�ZRS(cCs�ddlm}ttjj_ttftjj_	ttjj_tjjd�}tjj|d�}|j
||d�tjjd��dS(Ni����(t
call_functiontkernel32tGetModuleHandleA(N(
t_ctypesRtc_void_ptwindllRtLoadLibraryAtrestypetc_char_ptGetProcAddresstargtypestassertEqualtNoneR(tselfRthdlltfuncaddr((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyttest
s(t__name__t
__module__R(((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyRstCallbackTracbackTestCasecBs5eZd�Zd�Zd�Zd�Zd�ZRS(cOsPddl}tj}|j�}t_z|||�Wd|t_X|j�S(Ni����(tStringIOtsyststderrtgetvalue(RtfunctargstkwRt
old_stderrtlogger((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pytcapture_stderr%s	
cCsEttt�t�}|j|d�}|j|j�dd�dS(Ni*i����sValueError: 42(t	CFUNCTYPEtc_intRR#Rt
splitlines(Rtcbtout((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyttest_ValueError0scCsIttt�t�}|j|d�}|j|j�dd d�dS(Nii����isZeroDivisionError: (R$R%RR#RR&(RR'R(((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyttest_IntegerDivisionError6scCsIttt�t�}|j|d�}|j|j�dd d�dS(Ngi����isZeroDivisionError: (R$R%tc_doubleRR#RR&(RR'R(((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyttest_FloatDivisionError<scCsEttt�t�}|j|d�}|j|j�dd�dS(Ntspami����s>TypeError: unsupported operand type(s) for //: 'int' and 'str'(R$R%RRR#RR&(RR'R(((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyttest_TypeErrorDivisionErrorBs(RRR#R)R*R,R.(((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyRs
				t__main__(tctypestunittestRRt
skipUnlesstplatformtTestCaseRRRtmain(((sCD:/a/msys64/mingw64/lib/python2.7/ctypes/test/test_random_things.pyt<module>s
	0