$83 GRAYBYTE WORDPRESS FILE MANAGER $85

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/python35/lib64/python3.5/idlelib/idle_test/__pycache__/

HOME
Current File : /opt/alt/python35/lib64/python3.5/idlelib/idle_test/__pycache__//test_parenmatch.cpython-35.pyc


��Yf�
�@s�dZddlmZed�ddlZddlmZddlmZmZddl	m
Z
Gdd	�d	�ZGd
d�dej�Z
edkr�ejd
d�dS)z�Test idlelib.ParenMatch.

This must currently be a gui test because ParenMatch methods use
several text methods not defined on idlelib.idle_test.mock_tk.Text.
�)�requiresZguiN)�Mock)�Tk�Text)�
ParenMatchc@seZdZdd�ZdS)�DummyEditwincCs(||_d|_d|_d|_dS)N�T)�textZindentwidthZtabwidthZcontext_use_ps1)�selfr	�r�F/opt/alt/python35/lib64/python3.5/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)�ParenMatchTestcCsCt�|_t|j�|_t|j�|_t�|j_dS)N)r�rootrr	r�editwinrZ
text_frame)�clsrrr�
setUpClassszParenMatchTest.setUpClasscCs0|`|`|jj�|jj�|`dS)N)r	rrZupdate_idletasksZdestroy)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_cornerRs	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_timeres


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


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
12 Aug 2024 8.41 AM
root / linksafe
0755
__init__.cpython-35.opt-1.pyc
0.804 KB
31 May 2024 1.51 PM
root / linksafe
0644
__init__.cpython-35.opt-2.pyc
0.484 KB
31 May 2024 1.51 PM
root / linksafe
0644
__init__.cpython-35.pyc
0.804 KB
31 May 2024 1.51 PM
root / linksafe
0644
htest.cpython-35.opt-1.pyc
11.44 KB
31 May 2024 1.51 PM
root / linksafe
0644
htest.cpython-35.opt-2.pyc
9.166 KB
31 May 2024 1.51 PM
root / linksafe
0644
htest.cpython-35.pyc
11.44 KB
31 May 2024 1.51 PM
root / linksafe
0644
mock_idle.cpython-35.opt-1.pyc
2.399 KB
31 May 2024 1.51 PM
root / linksafe
0644
mock_idle.cpython-35.opt-2.pyc
1.709 KB
31 May 2024 1.51 PM
root / linksafe
0644
mock_idle.cpython-35.pyc
2.399 KB
31 May 2024 1.51 PM
root / linksafe
0644
mock_tk.cpython-35.opt-1.pyc
11.116 KB
31 May 2024 1.51 PM
root / linksafe
0644
mock_tk.cpython-35.opt-2.pyc
6.291 KB
31 May 2024 1.51 PM
root / linksafe
0644
mock_tk.cpython-35.pyc
11.116 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_autocomplete.cpython-35.opt-1.pyc
4.946 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_autocomplete.cpython-35.opt-2.pyc
4.929 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_autocomplete.cpython-35.pyc
4.946 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_autoexpand.cpython-35.opt-1.pyc
4.133 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_autoexpand.cpython-35.opt-2.pyc
4.064 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_autoexpand.cpython-35.pyc
4.133 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_calltips.cpython-35.opt-1.pyc
10.01 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_calltips.cpython-35.opt-2.pyc
9.879 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_calltips.cpython-35.pyc
10.088 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_config_help.cpython-35.opt-1.pyc
4.309 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_config_help.cpython-35.opt-2.pyc
4.231 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_config_help.cpython-35.pyc
4.309 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_config_name.cpython-35.opt-1.pyc
3.16 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_config_name.cpython-35.opt-2.pyc
3.079 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_config_name.cpython-35.pyc
3.16 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_configdialog.cpython-35.opt-1.pyc
1.435 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_configdialog.cpython-35.opt-2.pyc
1.273 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_configdialog.cpython-35.pyc
1.435 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_delegator.cpython-35.opt-1.pyc
1.104 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_delegator.cpython-35.opt-2.pyc
1.086 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_delegator.cpython-35.pyc
1.104 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_editmenu.cpython-35.opt-1.pyc
2.882 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_editmenu.cpython-35.opt-2.pyc
2.483 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_editmenu.cpython-35.pyc
2.882 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_editor.cpython-35.opt-1.pyc
1.188 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_editor.cpython-35.opt-2.pyc
1.171 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_editor.cpython-35.pyc
1.188 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_formatparagraph.cpython-35.opt-1.pyc
12.412 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_formatparagraph.cpython-35.opt-2.pyc
11.65 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_formatparagraph.cpython-35.pyc
12.412 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_grep.cpython-35.opt-1.pyc
3.075 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_grep.cpython-35.opt-2.pyc
2.542 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_grep.cpython-35.pyc
3.075 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_help_about.cpython-35.opt-1.pyc
1.957 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_help_about.cpython-35.opt-2.pyc
1.82 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_help_about.cpython-35.pyc
1.957 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_hyperparser.cpython-35.opt-1.pyc
7.996 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_hyperparser.cpython-35.opt-2.pyc
7.813 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_hyperparser.cpython-35.pyc
7.996 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_idlehistory.cpython-35.opt-1.pyc
6.716 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_idlehistory.cpython-35.opt-2.pyc
6.567 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_idlehistory.cpython-35.pyc
6.716 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_io.cpython-35.opt-1.pyc
8.765 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_io.cpython-35.opt-2.pyc
8.747 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_io.cpython-35.pyc
8.765 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_parenmatch.cpython-35.opt-1.pyc
4.064 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_parenmatch.cpython-35.opt-2.pyc
3.609 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_parenmatch.cpython-35.pyc
4.064 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pathbrowser.cpython-35.opt-1.pyc
1.309 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pathbrowser.cpython-35.opt-2.pyc
1.291 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pathbrowser.cpython-35.pyc
1.309 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_percolator.cpython-35.opt-1.pyc
5.179 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_percolator.cpython-35.opt-2.pyc
5.128 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_percolator.cpython-35.pyc
5.179 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_replacedialog.cpython-35.opt-1.pyc
7.498 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_replacedialog.cpython-35.opt-2.pyc
7.429 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_replacedialog.cpython-35.pyc
7.498 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_rstrip.cpython-35.opt-1.pyc
1.553 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_rstrip.cpython-35.opt-2.pyc
1.535 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_rstrip.cpython-35.pyc
1.553 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchdialog.cpython-35.opt-1.pyc
2.419 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchdialog.cpython-35.opt-2.pyc
2.34 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchdialog.cpython-35.pyc
2.419 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchdialogbase.cpython-35.opt-1.pyc
5.785 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchdialogbase.cpython-35.opt-2.pyc
5.584 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchdialogbase.cpython-35.pyc
5.785 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchengine.cpython-35.opt-1.pyc
10.698 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchengine.cpython-35.opt-2.pyc
10.606 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_searchengine.cpython-35.pyc
10.698 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_text.cpython-35.opt-1.pyc
6.857 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_text.cpython-35.opt-2.pyc
6.84 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_text.cpython-35.pyc
6.857 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_textview.cpython-35.opt-1.pyc
3.86 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_textview.cpython-35.opt-2.pyc
3.529 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_textview.cpython-35.pyc
3.86 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_undodelegator.cpython-35.opt-1.pyc
4.571 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_undodelegator.cpython-35.opt-2.pyc
4.301 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_undodelegator.cpython-35.pyc
4.571 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_warning.cpython-35.opt-1.pyc
2.839 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_warning.cpython-35.opt-2.pyc
2.497 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_warning.cpython-35.pyc
2.839 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_widgetredir.cpython-35.opt-1.pyc
5.485 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_widgetredir.cpython-35.opt-2.pyc
5.404 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_widgetredir.cpython-35.pyc
5.485 KB
31 May 2024 1.51 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF