Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@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:/sys/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyt
testLoadTks
	
cCs�d}tjjd�rdStj��}dtjkri|d=tjd�j	�j
�}|ridSnt�}|jt
|j�|jt
|j�WdQXdS(NtwintdarwintcygwinRs
echo $DISPLAY(Rsdarwinscygwin(tNonetsystplatformt
startswithRtEnvironmentVarGuardtostenvirontpopentreadtstripRRRRR(Rtold_displaytenvtdisplayR((s:/sys/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyttestLoadTkFailures	(t__name__t
__module__tunittesttskipIfRRR
R(((s:/sys/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyR	s$t__main__(RRR!ttestRtTkinterRRtrequirestTestCaseRt	tests_guiRtrun_unittest(((s:/sys/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyt<module>s
!	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.