config root man

Current Path : /usr/local/lib/python2.5/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/test/test_importhooks.pyo

³ò
h”Rc	@sçddkZddkZddkZddkZddklZdZdZdZdZ	dZ
edZeed	d
ƒZ
eed	d
ƒZeeed	d
ƒZee
eed	d
ƒZeeed	d
ƒZee	ed	d
ƒZee
eed	d
ƒZdZdd d
„ƒYZdd!d„ƒYZdefd„ƒYZdefd„ƒYZdd"d„ƒYZdd#d„ƒYZdd$d„ƒYZdeifd„ƒYZdefd„ƒYZd„Ze djoeƒndS(%iÿÿÿÿN(ttest_supportsHdef get_name():
    return __name__
def get_file():
    return __file__
simport sub
sfrom . import sub
sfrom .... import sub
s'from __future__ import absolute_import
sreloaded = True
s<???>texecs!!!_test_!!!t
ImportTrackercBs#eZdZd„Zdd„ZRS(s,Importer that only tracks attempted imports.cCs
g|_dS(N(timports(tself((s1/usr/local/lib/python2.5/test/test_importhooks.pyt__init__&scCs|ii|ƒdS(N(RtappendtNone(Rtfullnametpath((s1/usr/local/lib/python2.5/test/test_importhooks.pytfind_module(sN(t__name__t
__module__t__doc__RRR
(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR$s	tTestImportercBsÝeZheefd<eefd<eefd<eefd<eefd<eefd<eefd<eefd<ee	fd<eefd	<eefd
<Z
ed„Zd„Z
dd
„Zd„ZRS(thooktestmodulethooktestpackageshooktestpackage.subshooktestpackage.sub.subbershooktestpackage.oldabsshooktestpackage.newabsshooktestpackage.newrels!hooktestpackage.sub.subber.subestshooktestpackage.futreltsubtreloadmodulecCs$|tjo
t‚n||_dS(N(t	test_pathtImportErrorR	(RR	((s1/usr/local/lib/python2.5/test/test_importhooks.pyR=s

cCs
t‚dS(N(tNotImplementedError(R((s1/usr/local/lib/python2.5/test/test_importhooks.pyt_get__path__DscCs ||ijo|SndSdS(N(tmodulesR(RRR	((s1/usr/local/lib/python2.5/test/test_importhooks.pyR
GscBsv|i|\}}eii|ei|ƒƒ}d|ii|_||_|o|i	ƒ|_
n||iU|S(Ns<%s>(Rtsyst
setdefaulttimpt
new_modulet	__class__Rt__file__t
__loader__Rt__path__t__dict__(RRtispkgtcodetmod((s1/usr/local/lib/python2.5/test/test_importhooks.pytload_moduleMs	N(RRtFalsettest_cotTruettest2_oldabs_cottest2_newabs_cottest2_newrel_cottest2_deeprel_cottest2_futrel_coRRRRRR
R$(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR-s 	tMetaImportercBseZd„ZRS(cCsgS(N((R((s1/usr/local/lib/python2.5/test/test_importhooks.pyRYs(RRR(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR-XstPathImportercBseZd„ZRS(cCs
|igS(N(R	(R((s1/usr/local/lib/python2.5/test/test_importhooks.pyR]s(RRR(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR.\st
ImportBlockercBs,eZdZd„Zdd„Zd„ZRS(s‘Place an ImportBlocker instance on sys.meta_path and you
    can be sure the modules you specified can't be imported, even
    if it's a builtin.cGsti|ƒ|_dS(N(tdicttfromkeystnamestoblock(RR2((s1/usr/local/lib/python2.5/test/test_importhooks.pyRescCs||ijo|SndS(N(R2R(RRR	((s1/usr/local/lib/python2.5/test/test_importhooks.pyR
gscCs
td‚dS(Ns
I dare you(R(RR((s1/usr/local/lib/python2.5/test/test_importhooks.pyR$ksN(RRR
RRR
R$(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR/as	t
ImpWrappercBs eZdd„Zdd„ZRS(cCs8|dj	otii|ƒo
t‚n||_dS(N(RtosR	tisdirR(RR	((s1/usr/local/lib/python2.5/test/test_importhooks.pyRqs!
cCs§|idƒd}||jo|idjodSn|idjo
d}n
|ig}yti||ƒ\}}}Wntj
odSnXt|||ƒS(Nt.iÿÿÿÿ(tsplitR	RRR
Rt	ImpLoader(RRR	tsubnametfiletfilenametstuff((s1/usr/local/lib/python2.5/test/test_importhooks.pyR
vs
	N(RRRRR
(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR3osR8cBseZd„Zd„ZRS(cCs||_||_||_dS(N(R:R;R<(RR:R;R<((s1/usr/local/lib/python2.5/test/test_importhooks.pyR‡s		cCsIti||i|i|iƒ}|io|iiƒn||_|S(N(RR$R:R;R<tcloseR(RRR#((s1/usr/local/lib/python2.5/test/test_importhooks.pyR$Œs
!
	(RRRR$(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR8…s	tImportHooksBaseTestCasecBseZd„Zd„ZRS(cCsZti|_ti|_ti|_tiiƒtƒ|_tiid|iƒdS(Ni(	RR	t	meta_patht
path_hookstpath_importer_cachetclearRttrackertinsert(R((s1/usr/local/lib/python2.5/test/test_importhooks.pytsetUp–s



cCsm|iti(|iti(|iti(tiiƒx2|iiD]$}|tijoti|=qAqAWdS(N(	R	RR?R@RARBRCRR(RR((s1/usr/local/lib/python2.5/test/test_importhooks.pyttearDownžs




(RRRERF(((s1/usr/local/lib/python2.5/test/test_importhooks.pyR>”s	tImportHooksTestCasecBs8eZdd„Zd„Zd„Zd„Zd„ZRS(cCsµddk}ddk}ddk}ddk}|i|iƒdƒ|i|iƒdƒ|i|iiƒdƒ|i|iiiƒdƒ|oY|i|i|ƒ|i|i|ƒ|i|ii|ƒ|i|iii|ƒnt	t
ftid<ddk
}|it|dƒƒt	tftid<t|ƒ|it|dƒƒddk}|i|iiƒdƒ|i|ii|iƒddk}|i|iiƒd	ƒ|i|ii|iƒddkiii}|i|iƒd
ƒ|i|i|iƒddk}|i|iiƒdƒ|i|ii|iƒddk}|i|iƒdƒddk}|i|iiƒd
ƒ|i|ii|ƒdS(NiÿÿÿÿRRshooktestpackage.subshooktestpackage.sub.subberRtreloadedshooktestpackage.oldabsshooktestpackage.newrels!hooktestpackage.sub.subber.subestshooktestpackage.futrelRshooktestpackage.newabs(RRthooktestpackage.subthooktestpackage.sub.subbertassertEqualtget_nameRtsubberRR%R&RRRtfailIfthasattrt	reload_cotreloadt
failUnlessthooktestpackage.oldabstoldabsthooktestpackage.newreltnewrelt!hooktestpackage.sub.subber.subesttsubestthooktestpackage.futreltfutrelthooktestpackage.newabstnewabs(RtimporterRRRRXR((s1/usr/local/lib/python2.5/test/test_importhooks.pyt
doTestImportsªsb




cCs*tƒ}tii|ƒ|i|ƒdS(N(R-RR?RR^(Rti((s1/usr/local/lib/python2.5/test/test_importhooks.pyttestMetaPathås	cCs.tiitƒtiitƒ|iƒdS(N(RR@RR.R	RR^(R((s1/usr/local/lib/python2.5/test/test_importhooks.pyttestPathHookêscCssd}|tijoti|=ntiit|ƒƒyt|ƒWntj
onX|id|ƒdS(Nt
exceptionss&'%s' was not supposed to be importable(RRR?RR/t
__import__Rtfail(Rtmname((s1/usr/local/lib/python2.5/test/test_importhooks.pyttestBlockerïsc	Csétƒ}tii|ƒtiitƒd	}xY|D]Q}|idƒd}x5tiiƒD]$}|i|ƒoti|=q_q_Wq6Wx3|D]+}t	|t
ƒtƒdgƒ}|iq’Wytid=Wnt
j
onXdS(
Ntcolorsysturlparsesdistutils.cores
compiler.miscR6it	__dummy__turllib(RgRhsdistutils.cores
compiler.misc(R3RR?RR@R7Rtkeyst
startswithRctglobalstlocalsRtKeyError(RR_tmnamesRetparenttntm((s1/usr/local/lib/python2.5/test/test_importhooks.pyttestImpWrapperûs&	N(RRRR^R`RaRfRt(((s1/usr/local/lib/python2.5/test/test_importhooks.pyRG¨s
;			cCstitƒdS(N(Rtrun_unittestRG(((s1/usr/local/lib/python2.5/test/test_importhooks.pyt	test_mainst__main__((((((!RRR4tunittestttestRttest_srctabsimptrelimpt
deeprelimptfutimpt
reload_srctcompileR&RPR(R)R*R+R,RRRR-R.R/R3R8tTestCaseR>RGRvR(((s1/usr/local/lib/python2.5/test/test_importhooks.pys<module>s>	+h	


Man Man