%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/usr/lib64/python2.7/lib-tk/test/test_ttk/
Upload File :
Create Path :
Current File : //proc/self/root/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyo

�
zfc@s�ddlZddlZddlZddlmZmZddlmZed�deej	fd��YZ
e
fZedkr�ee�ndS(i����N(trequirestrun_unittest(tAbstractTkTesttguit	StyleTestcBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs,tt|�j�tj|j�|_dS(N(tsuperRtsetUptttktStyletroottstyle(tself((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyRscCsU|j}|jddd�|j|jdd�d�|j|jd�t�dS(NtTButtont
backgroundtyellow(R
t	configuretassertEqualtassertIsInstancetdict(RR
((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_configures
	cCsm|j}|jdddg�|j|jdd�|jrFdgndg�|j|jd�t�dS(	NRR
tactivetbluesactive background(RR
R(RR
R(sactive backgroundR(R
tmapRtwantobjectsRR(RR
((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_maps	
cCs�|j}|jddd�|jddd	g�|j|jdd�d�|j|jddddg�d�|j|jdddd�d�dS(
NRR
RRRtoptionnotdefinedtdefaulttiknewit(RR
R(R
RRRtlookup(RR
((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_lookup!s	cCs�|j}|jtj|jd�|jd�}|jdd�|j|jd�didd6fg�|jd|�|j|jd�|�|j|jd�t�|jtj|jddid	d
6fg�dS(Nt
NotALayouttTreeviewttnulltnswetstickyRtnamet
inexistenttoption(R
tassertRaisesttkintertTclErrortlayoutRRtlist(RR
ttv_style((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_layout-s	cCs�|jtj|jjd�|jj�}d}xA|jj�D],}||krA|}|jj|�PqAqAWdS|j||k�|j||jj�k�|jj|�dS(Ntnonexistingname(R'R(R)R
t	theme_usetNonettheme_namestassertFalse(Rt
curr_themet	new_themettheme((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyttest_theme_useDs(t__name__t
__module__RRRRR-R6(((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyR	s						t__main__(
tunittesttTkinterR(Rttest.test_supportRRttest_ttk.supportRtTestCaseRt	tests_guiR7(((s7/usr/lib64/python2.7/lib-tk/test/test_ttk/test_style.pyt<module>s
P	

Zerion Mini Shell 1.0