Your IP : 3.144.224.30


Current Path : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/test_stackviewer.cpython-36.pyc

3

� f��@srdZddlmZddlZddlmZddlmZddlm	Z	m
Z
ddlZGdd�dej�Z
ed	krnejd
d�dS)zTest stackviewer, coverage 63%.�)�stackviewerN)�requires)�Tk)�TreeNode�ScrolledCanvasc@s,eZdZedd��Zedd��Zdd�ZdS)�StackBrowserTestcCsVtj}ytWn(tk
r6tj�\|_|_|_YnXtd�t	�|_
|j
j�dS)NZgui)r�sys�abc�	NameError�exc_info�	last_type�
last_value�last_tracebackrr�rootZwithdraw)�cls�svs�r�G/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_stackviewer.py�
setUpClassszStackBrowserTest.setUpClasscCs.tj}|`|`|`|jj�|jj�|`dS)N)rrrrr
rZupdate_idletasksZdestroy)rrrrr�
tearDownClasss


zStackBrowserTest.tearDownClasscCs<tj|j�}|j}|tjt�|tjtj�|tjt	�dS)N)
rZStackBrowserrZassertIsInstanceZscr�itemZ
StackTreeItemZnoder)�selfZsbZisirrr�	test_init&s
zStackBrowserTest.test_initN)�__name__�
__module__�__qualname__�classmethodrrrrrrrrs
r�__main__�)�	verbosity)�__doc__ZidlelibrZunittestZtest.supportrZtkinterrZidlelib.treerrrZTestCaserr�mainrrrr�<module>s"

?>