AlkantarClanX12

Your IP : 3.21.46.24


Current Path : /lib64/python2.7/lib-tk/test/test_tkinter/
Upload File :
Current File : //lib64/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyc

�
zfc@s�ddlZddlZddlZddlmZddlmZmZejd�dej	fd��YZ
e
fZedkr�ej
e�ndS(i����N(ttest_support(tTcltTclErrortguit
TkLoadTestcBs5eZejdejkd�d��Zd�ZRS(tDISPLAYsNo $DISPLAY set.cCsJt�}|jt|j�|j�|jd|j��|j�dS(Ns1x1+0+0(RtassertRaisesRtwinfo_geometrytloadtktassertEqualtdestroy(tselfttcl((s</usr/lib64/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyt
testLoadTks
	
cCs�d}tjjd�rdStj��t}dtjkri|d=tjd�j	�j
�}|ridSnt�}|jt
|j�|jt
|j�WdQXdS(NtwintdarwintcygwinRs
echo $DISPLAY(RRR(tNonetsystplatformt
startswithRtEnvironmentVarGuardtostenvirontpopentreadtstripRRRRR(Rtold_displaytenvtdisplayR((s</usr/lib64/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyttestLoadTkFailures	(t__name__t
__module__tunittesttskipIfRRR
R(((s</usr/lib64/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyR	s$t__main__(RRR!ttestRtTkinterRRtrequirestTestCaseRt	tests_guiRtrun_unittest(((s</usr/lib64/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyt<module>s
!