Your IP : 216.73.216.213


Current Path : /opt/alt/python33/lib64/python3.3/tkinter/test/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/tkinter/test/__pycache__/runtktests.cpython-33.pyo

�
��f	c@s�dZddlZddlZddlZddlZddlZejjejj	e
��Zdd�Zedddd�Zddddd�Zed	kr�d
gej_ejje��ndS(u�
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.
iNcCs.x'tj|�D]}|dkrdSqWdS(Nu__init__.pyu__init__.pycu
__init.pyo(u__init__.pyu__init__.pycu
__init.pyoTF(uosulistdiruTrueuFalse(upathuname((u</opt/alt/python33/lib64/python3.3/tkinter/test/runtktests.pyu
is_packagesu
is_packagec	#sCd�x6tj|�D]%\}}}x4t|�D]&}|ddkr2|j|�q2q2Wt|�r|r|t|�ttj�d�jdd�}|r�||kr�qnt�fdd�|�}xh|D]]}y0t	j
d||dt���fd	�VWq�tjj
k
r3|r/�nYq�Xq�WqqWdS(
u�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.
    u.pyiu.Nu/cs|jd�o|j��S(Nutest_(u
startswithuendswith(ux(upy_ext(u</opt/alt/python33/lib64/python3.3/tkinter/test/runtktests.pyu<lambda>+su#get_tests_modules.<locals>.<lambda>u.%s.%sutkinter.test(uosuwalkulisturemoveu
is_packageulenusepureplaceufilteru	importlibu
import_moduleutestusupportuResourceDenied(	ubasepathuguiupackagesudirpathudirnamesu	filenamesudirnameupkg_nameuname((upy_extu</opt/alt/python33/lib64/python3.3/tkinter/test/runtktests.pyuget_tests_moduless(/	
uget_tests_modulesccs�g}|r|jd�n|r2|jd�nxPtd|d|�D]9}x0|D](}xt||f�D]}|VqnWqUWqHWdS(u�Yield 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.utests_noguiu	tests_guiuguiupackagesN(uappenduget_tests_modulesugetattr(utextuguiupackagesuattrsumoduleuattrutest((u</opt/alt/python33/lib64/python3.3/tkinter/test/runtktests.pyu	get_tests7s
u	get_testsu__main__uguiT(u__doc__uosusysuunittestu	importlibutest.supportutestupathuabspathudirnameu__file__u
this_dir_pathu
is_packageuTrueuNoneuget_tests_modulesu	get_testsu__name__usupportu
use_resourcesurun_unittest(((u</opt/alt/python33/lib64/python3.3/tkinter/test/runtktests.pyu<module>s