$17 GRAYBYTE WORDPRESS FILE MANAGER $86

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib64/python3.4/idlelib/idle_test/__pycache__/

HOME
Current File : /opt/alt/python34/lib64/python3.4/idlelib/idle_test/__pycache__//test_parenmatch.cpython-34.pyo
�
e f�
�@s�dZddlZddlmZddlmZddlmZmZddl	m
Z
Gdd�d�ZGd	d
�d
ej�Z
edkr�ejdd
�ndS)zTest idlelib.ParenMatch.�N)�Mock)�requires)�Tk�Text)�
ParenMatchc@seZdZdd�ZdS)�DummyEditwincCs(||_d|_d|_d|_dS)N�T)�textZindentwidthZtabwidthZcontext_use_ps1)�selfr	�r�F/opt/alt/python34/lib64/python3.4/idlelib/idle_test/test_parenmatch.py�__init__s			zDummyEditwin.__init__N)�__name__�
__module__�__qualname__r
rrrrrsrc@speZdZedd��Zedd��Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dS)�ParenMatchTestcCsMtd�t�|_t|j�|_t|j�|_t�|j_dS)NZgui)	rr�rootrr	r�editwinrZ
text_frame)�clsrrr�
setUpClasss

zParenMatchTest.setUpClasscCs#|`|`|jj�|`dS)N)r	rrZdestroy)rrrr�
tearDownClasss
zParenMatchTest.tearDownClasscCs|jjdd�dS)Nz1.0�end)r	Zdelete)r
rrr�tearDown#szParenMatchTest.tearDowncCs�|j}t|j�}|jd�|jdd�|jd�|jd|j��|j|j	dd�d
�|jdd
�|j
�|jd|j��|j|j	dd�f�|j
d�|j|j	dd�d�dS)z:
        Test ParenMatch with 'expression' style.
        Z
expression�insertzdef foobar(a, b�eventz<<parenmatch-check-restore>>�parenr�1.10�1.15�)�1.16N)rr)rr)r	rr�	set_styler�flash_paren_event�assertIn�
event_info�assertTupleEqual�
tag_prevrange�
restore_event�assertNotIn�assertEqual�paren_closed_event)r
r	�pmrrr�test_paren_expression&s	



z$ParenMatchTest.test_paren_expressioncCs�|j}t|j�}|jd�|jdd�|jd�|jd|j��|j|j	dd�d�|jdd
�|j
�|jd|j��|j|j	dd�f�dS)
z7
        Test ParenMatch with 'default' style.
        �defaultrzdef foobar(a, brz<<parenmatch-check-restore>>rr�1.10�1.11rN)r-r.)
r	rrr rr!r"r#r$r%r&r'r()r
r	r*rrr�test_paren_default=s	


z!ParenMatchTest.test_paren_defaultcCs�|j}t|j�}|jdd�|j|jd��|jdd�|j|jd��|j|jd��|jdd�|j|jd��dS)z�
        Test corner cases in flash_paren_event and paren_closed_event.

        These cases force conditional expression and alternate paths.
        rz# this is a commen)rz
defz	 a, *arg)N)r	rrrZassertIsNoner)r!)r
r	r*rrr�test_paren_cornerOs	z ParenMatchTest.test_paren_cornercCslt|j�}t�|_|jd�|j|jj�|jj�|jd�|j|jj�dS)Nr�)	rrrr&Zhandle_restore_timerZ
assertTrueZcalledZ
reset_mockZassertFalse)r
r*rrr�test_handle_restore_timerbs


z(ParenMatchTest.test_handle_restore_timerN)rrr�classmethodrrrr+r/r0r2rrrrrsr�__main__�	verbosity�)�__doc__ZunittestZ
unittest.mockrZtest.supportrZtkinterrrZidlelib.ParenMatchrrZTestCaserr�mainrrrr�<module>sY


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-34.pyc
0.502 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__init__.cpython-34.pyo
0.502 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
htest.cpython-34.pyc
11.496 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
htest.cpython-34.pyo
11.496 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_idle.cpython-34.pyc
2.399 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_idle.cpython-34.pyo
2.399 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_tk.cpython-34.pyc
10.845 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_tk.cpython-34.pyo
10.845 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autocomplete.cpython-34.pyc
5.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autocomplete.cpython-34.pyo
5.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autoexpand.cpython-34.pyc
4.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autoexpand.cpython-34.pyo
4.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_calltips.cpython-34.pyc
10.097 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_calltips.cpython-34.pyo
10.019 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_config_name.cpython-34.pyc
3.163 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_config_name.cpython-34.pyo
3.163 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_configdialog.cpython-34.pyc
1.341 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_configdialog.cpython-34.pyo
1.341 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_delegator.cpython-34.pyc
1.137 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_delegator.cpython-34.pyo
1.137 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_editor.cpython-34.pyc
1.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_editor.cpython-34.pyo
1.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_formatparagraph.cpython-34.pyc
12.415 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_formatparagraph.cpython-34.pyo
12.415 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_grep.cpython-34.pyc
3.077 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_grep.cpython-34.pyo
3.077 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_hyperparser.cpython-34.pyc
7.972 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_hyperparser.cpython-34.pyo
7.972 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_idlehistory.cpython-34.pyc
6.697 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_idlehistory.cpython-34.pyo
6.697 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_io.cpython-34.pyc
8.777 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_io.cpython-34.pyo
8.777 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_parenmatch.cpython-34.pyc
3.908 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_parenmatch.cpython-34.pyo
3.908 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_pathbrowser.cpython-34.pyc
1.312 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_pathbrowser.cpython-34.pyo
1.312 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_rstrip.cpython-34.pyc
1.556 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_rstrip.cpython-34.pyo
1.556 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchdialogbase.cpython-34.pyc
5.794 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchdialogbase.cpython-34.pyo
5.794 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchengine.cpython-34.pyc
10.688 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchengine.cpython-34.pyo
10.688 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_text.cpython-34.pyc
6.863 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_text.cpython-34.pyo
6.863 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_textview.cpython-34.pyc
3.826 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_textview.cpython-34.pyo
3.826 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_warning.cpython-34.pyc
3.44 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_warning.cpython-34.pyo
3.44 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_widgetredir.cpython-34.pyc
5.447 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_widgetredir.cpython-34.pyo
5.447 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF