403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.70
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/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/test_poll.cpython-315.opt-1.pyc
R
>lqj c�:�]PHs]PHs]PHs]PHs]PHs]PHs]PHs]QHGsG	s	G
s
Gs]QHGs]QH4Gs\O\
P	Q5QsQQ\O&2s\Q	6Xc\O,2P!P!\c\O"Q2gh9h)
�)�cpython_only�requires_subprocess�requires_working_socket�requires_resource)�threading_helper)�TESTFNzselect.poll not defined)�modulec�f�,oSFD&vq4VA*%fJUOU2J(	U!)N)�append)�ready�flag�match�fd�modes&&   �#C:\Python315\\Lib\test\test_poll.py�find_ready_matchingrs-���E�����;�;��L�L�����L�c��`�\sQs]snQsQs\2\Q2Q22sQs	\
Q2s\OQ2s\O \Q2\OQ	22sQ
sUsP!)�	PollTestsc���[O2o]oQo[U2o,o,o-o-o[U2FD�o	[O
2vq�UO
U
2UOU
[O2UO
U[O2UOU
2UOU2V�U
$V�U$J�	,oU%CcsUO2o
[U
[O2oU%f[Q2g[OU2o[OV�2UO2o
[U
[O2oU%f[Q2g[OU2o
[O V�2oUO#[U2U2UOU2[O$Vz*2[O$U
2UO'Vz*2UO'U
2UO)Vz*2CJ{UO#V�,U*2P!)�s This is a test.zno pipes ready for writingzno pipes ready for reading)�select�poll�len�range�os�pipe�register�modify�POLLIN�POLLOUTr
r�RuntimeError�random�choice�write�read�assertEqual�close�
unregister�remove)�self�p�	NUM_PIPES�MSG�MSG_LEN�readers�writers�r2w�w2r�i�rd�wr�bufsr�
ready_writers�
ready_readers�bufs&                r�
test_poll1�PollTests.test_poll1!s���
�K�K�M���	�!���c�(�����������y�!�A��W�W�Y�F�B�
�J�J�r�N�
�H�H�R����'�
�J�J�r�6�>�>�*��N�N�2���N�N�2����G���G�"����g��F�F�H�E�/��v�~�~�F�M� �"�#?�@�@����}�-�B��H�H�R���F�F�H�E�/��v�}�}�E�M� �"�#?�@�@����}�-�B��'�'�"�&�C����S��X�w�/��K�K����H�H�S�W�����"��
�L�L�#�'�#�
�L�L�"���N�N�3�7�#�����u�y�0�1rc�0�[O2vq[OU2[OU2[O2oUOU2UO	2oUO
U]*U[O12[[Q29^tt^2oUO2o[O2oUOU2UO	2oUO
U]*]*U2PPP2UO	2oUO
U]*W[O12[O[2[O2oUO[UO
U2UO[UOU2[O2oUO[UO]2[O2oQQ2oQQ2o	UO[UO
U2]2UO[UO
U	2]2P!)%fhCKj9h)r�wc��\sQs]qsQsP!)�,PollTests.test_poll_unit_tests.<locals>.Nope�)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r@rr�Noper?qs��rrFc�(`�\sQs]tsnQsQsUsP!)�.PollTests.test_poll_unit_tests.<locals>.Almostc��Q!)�filenor@)r*s&rrJ�5PollTests.test_poll_unit_tests.<locals>.Almost.filenous��rr@)rArBrCrDrJrE�__classdictcell__��
__classdict__s@r�AlmostrHts����
 �
 rrO)rrr'rrrr&�POLLNVAL�openrrJ�unlink�assertRaises�	TypeErrorr(�KeyError)
r*�FDr=r+�r�fr�pollsterrFrOs
&         r�test_poll_unit_tests�PollTests.test_poll_unit_testsRs������	���
�����
������K�K�M��	�
�
�2��
�F�F�H������1���F�O�O�4�5�
�&�#�
�
�!�����B����
�A�
�J�J�q�M�����A����Q�q�T�!�W�b�)��
�F�F�H������1���F�O�O�4�5�
�	�	�&��
�K�K�M�����)�Q�Z�Z��3����)�Q�\�\�1�5�
�K�K�M�����(�A�L�L�!�4��;�;�=��	�	�	 �	 �	
���)�X�%6�%6����B����)�X�%6�%6���!�D�;�
�
�s�<A'J�J	�
J	�walltimec��Qo[OUP	[O]Q5oUOU2UOo[
O2oUOU[
O2QFD�oUO
U2oU,6XcJU]*vqxU[
O*%c+UO2o	U	Q6wcUOQ2JoU[
O*%c1UO2o	U	%fP!UOU	Q2J�UOQU*2J�	P!)z?for i in 0 1 2 3 4 5 6 7 8 9; do echo testing...; sleep 1; done)�shell�stdout�bufsizerz6error: pipe seems to be closed, but still returns datastesting...
z,Unexpected return value from select.poll: %s)r��i�i�i@i�>���rbrbrbrbrbrbrbrbrb)
�
subprocess�Popen�PIPE�enterContextr_rrrr�POLLHUP�readline�failr&)
r*�cmd�procr+rY�tout�fdlistr�flags�lines
&         r�
test_poll2�PollTests.test_poll2~s��P������4�
���()�+�����$���K�K���;�;�=�����1�f�m�m�-�A�D��]�]�4�(�F��"����q�	�I�B��v�~�~�%�%��z�z�|���3�;��I�I�V�W������&�&��z�z�|����� � ���7���	�	�H�6�Q�R�%Brc���[O2oUO]2UO[UOQ2]oU]6wcUOQ2UO[UO]P2UO[UO]Q2UO[UO]P2UO[UO]Q2P!)�zOverflow must have occurredl)rrrrS�
OverflowErrorri�
ValueErrorr)r*rY�xs&  r�
test_poll3�PollTests.test_poll3�s����;�;�=�����!�����-�����@�����6��I�I�3�4�	
���*�h�&7�&7��B�?����-��):�):�A�w�G����*�h�o�o�q�"�=����-����!�W�Erc��]PHo]QHGoGoGo[	UQP
2o[O2oUO]2UO[UO]U]*2UO[UO]U]*2U%c@QoUOU*oUO[UOU]*2P!UO[UOU]*2UO[UOU]*2P![
c[OQ2gh9h)r)�	USHRT_MAX�INT_MAX�UINT_MAX�
HAVE_PPOLLzrequires _testcapii@B)�	_testcapirzr{r|�getattr�ImportError�unittest�SkipTestrrrrSrtr�	INT64_MAX)	r*r~rzr{r|r}rY�MS_TO_NS�tmaxs	&        r�test_poll_c_limits�PollTests.test_poll_c_limits�s���	:��>�>� ��L�%�@�J��;�;�=�����!��	
���-��):�):�A�y�1�}�M����-����!�Y��]�K�� �H��&�&�(�2�D����m�X�]�]�D�1�H�E����m�X�]�]�G�a�K�H����m�X�]�]�H�q�L�I���	:��#�#�$8�9�9�	:�s�D/�/	E�9Ec���[O2vqUO[OU2UO[OU2,o[	]
2FDJo[O
U2oUO[OU2UO
U2JL	[O2oSFD#oUOU[O2J%	[OUOQ5oUO2[OQ2SFDoUO!U2J	UOU[O"2UO%[&UO2[O(UQ2UO+2P![O(SQ2SO+2h9h)�
)�targetg�?�spam)rr�
addCleanupr'r�dupr
rrrr�	threading�Thread�start�time�sleepr(r rSr!r$�join)r*rWr=�rfdsr3rrY�ts&       r�test_threaded_poll�PollTests.test_threaded_poll�s>���w�w�y���������!�$�������!�$����r��A������B��O�O�B�H�H�b�)��K�K��O���;�;�=���B����b�&�-�-�0��
���H�M�M�2��	���	�
	��J�J�s�O����#�#�B�'�����a����0����l�H�M�M�:�
�H�H�Q�� �
�F�F�H��
�H�H�Q�� �
�F�F�H�s
�&A1G�)G)z!Threading required for this test.c�d�QFCD&o[O2vq#[O2oUO	U[O
2[OUOU1Q5oUO2UOQQ5UOUO22[OUQ2UO2UOUO22[OU2[OU2CJ)	P!)Ng�������?)r��args)�timeoutr�)Ni���rbg�g��������g0��.�+�)rrrrrrr�r�r�r��
assertTrue�is_aliver$�assertFalser')r*�
timeout_msrWr=rY�poll_threads&     r�!test_poll_blocks_with_negative_ms�+PollTests.test_poll_blocks_with_negative_ms�s���A�J��7�7�9�D�A��{�{�}�H����a����/�#�*�*�(�-�-�z�m�T�K��������S��)��O�O�K�0�0�2�3�
�H�H�Q�� ��������[�1�1�3�4��H�H�Q�K��H�H�Q�K�#Arr@)rArBrCrDr:rZrrrprwrr�r�reap_threadsr�r��
skipUnlessr�r�rErLrMs@rrrs�����/2�b'E�X���z�"�S�#��S�8F�"�J��J�,�"�"��#��6����$G�H��"�"��#�I�rr�__main__)rrcr"rr�r�r��test.supportrrrrr�test.support.os_helperrr�AttributeErrorr�r�TestCaserrA�mainr@rr�<module>r�s���
��
�
������*�)�7�
�K�K��t�$��U��!�!�U�p�z���M�M�O���I�7�
�
�
�5�
6�6�7�s�B�B�B

Youez - 2016 - github.com/yon3zu
LinuXploit