403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python313/Lib/idlelib/idle_test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/idlelib/idle_test/__pycache__/test_editmenu.cpython-313.pyc
�

��iN
���SrSSKJr \"S5 SSKrSSKJr SSKrSSKJr "SS\R5r
\S	:Xa\R"S
S9 gg)zNTest (selected) IDLE Edit menu items.

Edit modules have their own test files
�)�requires�guiN)�ttk)�pyshellc�J�\rSrSrSr\S5r\S5rSrSr	Sr
Srg	)
�	PasteTest�z]Test pasting into widgets that allow pasting.

On X11, replacing selections requires tk fix.
c��[R"5=UlnURR5 [R
"U5 [R"U5Ul[R"U5Ul	[R"U5Ul[R"U5Ul
UR5 URS5 g)N�two)�tk�Tk�root�withdrawr�
fix_x11_paste�Text�text�Entry�entryr�tentry�Spinbox�spin�clipboard_clear�clipboard_append)�clsrs  �4C:\Python313\\Lib\idlelib\idle_test\test_editmenu.py�
setUpClass�PasteTest.setUpClasss����%�%�'�!���4����������d�#��7�7�4�=����H�H�T�N��	��Y�Y�t�_��
��:�:�d�#����������e�$�c��U?U?U?URR	5 URR5 URR
5 U?g)N)rrrrr�update_idletasks�destroy)rs r�
tearDownClass�PasteTest.tearDownClasssD���H�c�i������ � �"����!�!�#��������Hrc�6�URnSHuup#URX#S9 URSS5 URSSU5 UR	S5 URUR
SS5U5 SSS5 Mw g!,(df   M�=f)z4Test pasting into text with and without a selection.))�zonetwo
)�selztwo
)�tag�ansz1.0�end�one�	<<Paste>>N)r�subTest�delete�insert�event_generate�assertEqual�get)�selfrr'r(s    r�test_paste_text�PasteTest.test_paste_text%s{���y�y��:�H�C����#��/����E�5�)����E�5�#�.��#�#�K�0�� � ����%��!7��=�	0�/�;�/�/�s�AB	�	
B	c�|�URUR4H�nSH�up#URXUS9 URSS5 UR	SS5 URSU5 UR
S5 URUR5U5 SSS5 M� M� g!,(df   M�=f)z8Test pasting into an entry with and without a selection.�)r�onetwo)r)r)rr)r(rr)r*r+N)	rrr,r-r.�select_ranger/r0r1)r2rr)r(s    r�test_paste_entry�PasteTest.test_paste_entry/s����Z�Z����,�E�9����\�\��C�\�@��L�L��E�*��L�L��E�*��&�&�q�#�.��(�(��5��$�$�U�Y�Y�[�#�6�A�@�:�-�@�@�s�A(B,�,
B;c�V�URnSH�up#URX#S9 URSS5 URSS5 UR	SSU5 URS5 UR
UR5U5 SSS5 M� g!,(df   M�=f)	z9Test pasting into a spinbox with and without a selection.r6)r)r(rr)r*�ranger+N)rr,r-r.�	selectionr/r0r1)r2rr)r(s    r�test_paste_spin�PasteTest.test_paste_spin<s����y�y��5�H�C����#��/����A�u�%����A�u�%����w��3�/��#�#�K�0�� � �����S�1�0�/�6�/�/�s�A)B�
B(	�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�classmethodrr"r3r9r>�__static_attributes__r@rrrrs>����	%��	%�����>�7�
2rr�__main__�)�	verbosity)
rE�test.supportr�tkinterrr�unittest�idlelibr�TestCaserrA�mainr@rr�<module>rQsP���"��������:2��!�!�:2�z�z���M�M�A��r

Youez - 2016 - github.com/yon3zu
LinuXploit