%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/lib-tk/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/lib-tk/test/runtktests.pyc

ó
Mêáac@s³dZddlZddlZddlZddlZddlZejjejj	e
ƒƒZd„Zee
dd„Ze
e
dd„Zedkr¯ejjeƒŒndS(sß
Use this module to get and run all tk tests.

Tkinter tests should live in a package inside the directory where this file
lives, like test_tkinter.
Extensions also should live in packages following the same rule as above.
iÿÿÿÿNcCs.x'tj|ƒD]}|dkrtSqWtS(Ns__init__.pys__init__.pycs
__init.pyo(s__init__.pys__init__.pycs
__init.pyo(tostlistdirtTruetFalse(tpathtname((s2/usr/local/lib/python2.7/lib-tk/test/runtktests.pyt
is_packagesc	#s-d‰x tj|ƒD]\}}}x4t|ƒD]&}|ddkr2|j|ƒq2q2Wt|ƒr|r|t|ƒttjƒjddƒ}|r¯||kr¯qnt‡fd†|ƒ}x[|D]P}y$t	j
d|tˆƒ |ƒVWqÎtjj
k
r|r‚qqÎXqÎWqqWdS(sëThis will import and yield modules whose names start with test_
    and are inside packages found in the path starting at basepath.

    If packages is specified it should contain package names that want
    their tests collected.
    s.pyit.t/cs|jdƒo|jˆƒS(Nttest_(t
startswithtendswith(tx(tpy_ext(s2/usr/local/lib/python2.7/lib-tk/test/runtktests.pyt<lambda>+ts.%sN(RtwalktlisttremoveRtlentseptreplacetfiltert	importlibt
import_modulettestttest_supporttResourceDenied(	tbasepathtguitpackagestdirpathtdirnamest	filenamestdirnametpkg_nameR((R
s2/usr/local/lib/python2.7/lib-tk/test/runtktests.pytget_tests_moduless&)	
ccs‰g}|r|jdƒn|r2|jdƒnxPtd|d|ƒD]9}x0|D](}xt||dƒD]}|VqnWqUWqHWdS(sYield all the tests in the modules found by get_tests_modules.

    If nogui is True, only tests that do not require a GUI will be
    returned.ttests_noguit	tests_guiRRN((tappendR$tgetattr(ttextRRtattrstmoduletattrR((s2/usr/local/lib/python2.7/lib-tk/test/runtktests.pyt	get_tests6s
t__main__(t__doc__RtsystunittestRttest.test_supportRRtabspathR"t__file__t
this_dir_pathRRtNoneR$R-t__name__Rtrun_unittest(((s2/usr/local/lib/python2.7/lib-tk/test/runtktests.pyt<module>s	

Zerion Mini Shell 1.0