403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.145
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_hyperparser.cpython-315.opt-1.pyc
R
>lqj�$c��Qs]QHGs]PHs]QHGs]QHGsGs]QH$G
s
QQ2sQQ\O2s
\Q	6Xc\O]Q
5P!P!)zTest hyperparser, coverage 98%.)�HyperParser)�requires)�Tk�Text)�EditorWindowc�X`�\sQs]	snQs\Os\OsQsUs	P!)�DummyEditwinc�L�Vm]Um]UmQUmQUmP!)��>>>)�2����)�text�indentwidth�tabwidth�prompt_last_line�num_context_lines)�selfrs&&�7C:\Python315\\Lib\idlelib\idle_test\test_hyperparser.py�__init__�DummyEditwin.__init__
s&���	������
� %���!.���)rrrrr)
�__name__�
__module__�__qualname__�__firstlineno__rr�_build_char_in_string_func�is_char_in_string�__static_attributes__�__classdictcell__��
__classdict__s@rrr	s$����/�".�!H�!H��$�6�6�rrc�`�\sQs]snQs\Q2s\Q2sQsQs	Qs
QsQsQ	s
Q
sQsQsQ
sQsUsP!)�HyperParserTestu#"""This is a module docstring"""
# this line is a comment
x = "this is a string"
y = 'this is also a string'
l = [i for i in range(10)]
m = [py*py for # comment
       py in l]
x.__len__
z = ((r'asdf')+('a')))
[x for x in
for = False
cliché = "this is a string with unicode, what a cliché"c���[Q2[2UmUOO2[	UO2Um[
UO
2UmP!)�gui)rr�root�withdrawrrr�editwin��clss&r�
setUpClass�HyperParserTest.setUpClass%sA������4�������������>���"�3�8�8�,��rc�H�U;U;UOO2U;P!)N)rr(r&�destroyr)s&r�
tearDownClass�HyperParserTest.tearDownClass-s ���H�c�k��������Hrc�T�UOOQUO2P!)�insert)rr2�code�rs&r�setUp�HyperParserTest.setUp3s���	�	����4�9�9�-rc�b�UOOQQ2QUOmP!)�1.0�endr
)r�deleter(rr4s&r�tearDown�HyperParserTest.tearDown6s"���	�	�����&�(-����%rc�0�[UOU2!)z.
Return a parser object with index at 'index'
)rr()r�indexs&&r�
get_parser�HyperParserTest.get_parser:s���4�<�<��/�/rc�l�UO[29^tt^2oUOOQQQ2UO	Q2oPPP2UOQ[
WO22PUOm	UO	Q2oUOUOUOOQQ22UOOQUOOQQ2]*2UO	Q2oP!)%fhK�9h)z&
test corner cases in the init method
�consoler8z1.endz1.5�precedesr9z54.5)�assertRaises�
ValueErrorr�tag_addr?�assertIn�str�	exceptionr(r�assertEqual�rawtext�getr2)r�ve�ps&  r�	test_init�HyperParserTest.test_init@s����
�
�z�
*�
*�b��I�I���i���8�����&�A�+�	
�
�
�j�#�b�l�l�"3�4�)+����%�
�O�O�E�"��������D�I�I�M�M�%��$?�@�	
�	�	�����	�	�
�
�e�U� ;�A� =�>��O�O�F�#��+�
*�s�/D#�#D3	�,D3	c�B�UOoUQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22P!)r8z1.4z2.3z3.3z3.7z4.6z12.54)r?�assertFalse�is_in_string�
assertTrue�rrLrNs&  r�test_is_in_string�!HyperParserTest.test_is_in_stringTs����o�o����J��������)�*���J��������(�)���J��������)�*���J��������)�*���J��������(�)���J��������(�)���L��������(�)rc���UOoUQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22UQ2oUOUO22P!)r8z1.1z2.5z3.4z3.6z4.14)r?rT�
is_in_coderRrUs&  r�test_is_in_code�HyperParserTest.test_is_in_codefs����o�o����J���������'���J���������(���J���������(���J���������'���J���������(���K���������(rc�j�UOoQoQoUQ2oUOUU22UOUU22UQ2oUOUU2Q2UOUU2UU22UQ2oUOUU2Q2UOUU2UU22UQ2oUOUU2Q	2UOUU22UQ2oUOUU22UOUU22P!)
c�(�UOP
Q5!)F��	mustclose��get_surrounding_brackets��parsers&r�without_mustclose�GHyperParserTest.test_get_surrounding_bracket.<locals>.without_mustcloseys���2�2�U�2�C�Crc�(�UOP	Q5!)Tr^r`rbs&r�with_mustclose�DHyperParserTest.test_get_surrounding_bracket.<locals>.with_mustclose~s���2�2�T�2�B�Brz3.2z5.6z5.23z6.15z9.end)z5.4�5.25)z5.21z5.24)z6.4z6.end)r?�assertIsNone�assertTupleEqual)rrLrdrgrNs&    r�test_get_surrounding_bracket�,HyperParserTest.test_get_surrounding_bracketvs!���o�o��	D�
	C�

��J�����.��+�,����+�A�.�/���J�����/��2�O�D����/��2�N�1�4E�F���K�����/��2�4D�E����/��2�N�1�4E�F���K�����/��2�4D�E����.��+�,���L�����.��+�,����+�A�.�/rc��UOoUQ2oUOUO2Q2UQ2oUO[29^tt^2oUO2PPP2UOQ[
WO22UQ2oUOUO2Q2UQ2oUOUO2Q2UQ2oUOUO2P2UQ	2oUOUO2Q2UQ
2oUOUO2Q2UQ2oUOUO2Q
2UQ2oUO[29^tt^2oUO2PPP2UOQ[
UO22UQ2oUOUO2P2UQ2oUOUO2P2UQ2oUOUO2P2UQ2oUOUO2P2UQ2oUOUO2Q2UQ2oUOUO2Q2P!)%fhCK{9h)%fhCK<9h)z4.2zy z4.7zis inside a coderiz	range(10)z6.7�pyz6.8z7.9z8.endz	x.__len__z9.13zr'asdf'z9.17z10.0z10.6z10.11z11.3z11.11�Falsez12.6�cliché)r?rJ�get_expressionrDrErGrHrI)rrLrNrMs&   r�test_get_expression�#HyperParserTest.test_get_expression�sh���o�o����J������)�)�+�T�2���J��
�
�
�z�
*�
*�b�
����+��
�
�(�#�b�l�l�*;�<���K������)�)�+�[�9���J������)�)�+�T�2���J������)�)�+�R�0���J������)�)�+�T�2���L������)�)�+�[�9���K������)�)�+�Y�7���K��
�
�
�z�
*�
*�b�
����+��
�
�(�#�b�l�l�*;�<���K������)�)�+�R�0���K������)�)�+�R�0���L������)�)�+�R�0���K������)�)�+�R�0���L������)�)�+�W�5���K������)�)�+�Y�7�W+�
*�
*��.+�
*�
*�s$�K�.K2�K/	�'K/	�2L	�;L	c��QoUOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ	22UOUQ
22UOUQ22UOUQ22UOUQ
22UOUQ22UOUQ22UOUQ22UOUQ22UO[OQ]]2[Q22UO[OQ]]2[Q22UO[OQ]]2[Q22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22UOUQ22P!)c���[OU][U22oU[U26XcP	!U]6XcP
!QOU[U22o[	U2g)�z'Unexpected result: {} (expected 0 or {})r�_eat_identifier�len�format�	Exception)�	candidate�result�err_msgs&  r�is_valid_id�8HyperParserTest.test_eat_identifier.<locals>.is_valid_id�sY�� �0�0��A�s�9�~�N�F���Y��'���1���C�J�J��C�	�N��� ��(�(r�2notid�valid_id�	_valid_id�	valid_id_�
_2valid_id�Truerp�None�for�import�return�clicherqua٢�2au٢aua²z+ var�varz+varz.var�+� �:�?�^�\�"z
"a string")rRrTrJrrxry)rrs& r�test_eat_identifier�#HyperParserTest.test_eat_identifier�sG��
	)�	
����X�.�/�	
����J�/�0�����K�0�1�����K�0�1�����L�1�2�	
����F�+�,�����G�,�-�����F�+�,�	
����U�+�,�����X�.�/�����X�.�/�	
����H�-�.�����I�.�/�����E�*�+�	
����T�*�+�����U�+�,�����U�+�,�	
����4�4�W�a��C�S��Z�P�����4�4�V�Q��B�C��J�O�����4�4�V�Q��B�C��J�O�	
����S�)�*�����S�)�*�����S�)�*�����S�)�*�����S�)�*�����T�*�+�����S�)�*�����\�2�3rc
�N�[Oo[]]2FCD�oUOUQU*]U2U2UOUQU*]U2U2UOUQQU]*
**]U2U2UOUQQU]*
**]U2U2UOUQQU]*
**]U2U2UOUQU]*
*Q*]U2U2UOUQU*]U2]2UOUQQU]*
**]U2]2UOUQQU]*
**]U2]2CJ�	P!)��a�é�2r�)rrx�rangerJ)r�eat_id�lengths&  r�#test_eat_identifier_various_lengths�3HyperParserTest.test_eat_identifier_various_lengthss`���,�,���A�r�l�l�F����V�C�&�L�!�V�<�f�E����V�D�6�M�1�f�=�v�F����V�C�#��!��*<�$<�a��H�&�Q����V�D�3�&�1�*�+=�$=�q�&�I�6�R����V�D�3�&�1�*�+=�$=�q�&�I�6�R����V�D�F�Q�J�$7�#�$=�q�&�I�6�R����V�C�&�L�!�V�<�a�@����V�C�#��!��*<�$<�a��H�!�L����V�C�$�&�1�*�*=�$=�q�&�I�1�M�#r�)rrrrr3�classmethodr+r/r5r;r?rOrVrZrlrsr�r�rrr s@rr#r#st����
H�	��-��-�����
.�.�0�$�(*�$)� 0�B28�h74�rN�Nrr#�__main__)�	verbosity)�__doc__�idlelib.hyperparserr�unittest�test.supportr�tkinterrr�idlelib.editorrr�TestCaser#r�mainr�rr�<module>r�sS��!�+��!��'�	7�	7�{N�h�'�'�{N�|�z���M�M�A��r

Youez - 2016 - github.com/yon3zu
LinuXploit