config root man

Current Path : /usr/local/lib/python2.5/ctypes/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/ctypes/test/test_values.pyc

łň
h”Rc@s`dZddkZddkTddkZdeifd„ƒYZedjoeiƒndS(s.
A testcase which accesses *values* in a dll.
i˙˙˙˙N(t*tValuesTestCasecBs3eZd„Zd„Zdeifd„ƒYZRS(cCsmttiƒ}ti|dƒ}|i}|i||iƒƒ|id9_|i|d|iƒƒdS(Nt
an_integeri(tCDLLt_ctypes_testt__file__tc_inttin_dlltvaluetfailUnlessEqualtget_an_integer(tselftctdllRtx((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyttest_an_integers	cCs,ttiƒ}|itti|dƒdS(NtUndefined_Symbol(RRRtassertRaisest
ValueErrorRR(RR((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyttest_undefinedstWin_ValuesTestCasecBs)eZdZd„Zd„Zd„ZRS(s?This test only works when python itself is a dll/shared librarycCs)titdƒi}|i|dƒdS(NtPy_OptimizeFlagi(RRtpydllRR	(Rtopt((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyttest_optimizeflagsc	Csćdtfd„ƒY}t|ƒ}|itdƒ}g}x<|D]4}|idjoPn|i|i|ifƒqAWddk}|i	d djodddg}ndddg}|i
||ƒddkl}||=dS(Nt
struct_frozencBs/eZdefdeeƒfdefgZRS(tnametcodetsize(t__name__t
__module__tc_char_ptPOINTERtc_ubyteRt_fields_(((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyR4s	tPyImport_FrozenModulesi˙˙˙˙iit	__hello__iht
__phello__i˜˙˙˙s__phello__.spamidiœ˙˙˙(t_pointer_type_cache(ii(R#ih(R$i˜˙˙˙(s__phello__.spamih(R#id(R$iœ˙˙˙(s__phello__.spamid(
t	StructureRRRRtNonetappendRtsystversion_infoR	tctypesR%(	RRtFrozenTabletfttitemstentryR)texpectedR%((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyttest_frozentable+s 	cCs|ittitdƒdS(NR(RRRRR(R((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyRNs(RRt__doc__RR1R(((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyRs		#(RRRRtunittesttTestCaseR(((s3/usr/local/lib/python2.5/ctypes/test/test_values.pyR
s		t__main__(R2R3R+RR4RRtmain(((s3/usr/local/lib/python2.5/ctypes/test/test_values.pys<module>s
G


Man Man