403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.216.115
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/IPython/lib/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/IPython/lib/tests/__pycache__/test_backgroundjobs.cpython-311.pyc
�

�@�c�
��N�dZddlZddlmZdZefd�Zefd�Zd�Zd�Z	d	�Z
d
�ZdS)zTests for pylab tools module.
�N)�backgroundjobsg-C��6?c�R�t|||���}tj|��|S)N)�interval�
other_args�kw_args)�dict�time�sleep)r�a�kw�argss    �G/usr/lib/python3/dist-packages/IPython/lib/tests/test_backgroundjobs.py�sleeperrs5���������D�	�J�x�����K�c�N�tj|��td|z���)NzDead job with interval %s)r	r
�	Exception)rrrs   r�crasherr$s&���J�x����
�/�(�:�
;�
;�;rc��tj��}|�t��}|���|jdtksJ�dS)z(Test job submission and result retrievalrN)�bg�BackgroundJobManager�newr�join�result�t_short��jobs�js  r�test_resultr,sL��
�"�$�$�D�������A��F�F�H�H�H��8�J��7�*�*�*�*�*�*rc�L�tj��}|�t��}|���t|j��dksJ�t|j��dksJ�|���t|j��dksJ�dS)zTest job control�rN)	rrrrr�len�	completed�dead�flushrs  r�
test_flushr%4s���
�"�$�$�D�������A��F�F�H�H�H��t�~���!�#�#�#�#��t�y�>�>�Q������J�J�L�L�L��t�~���!�#�#�#�#�#�#rc�L�tj��}|�t��}|���t|j��dksJ�t|j��dksJ�|���t|j��dksJ�dS)zTest control of dead jobsrr N)	rrrrrr!r"r#r$rs  r�	test_deadr'?s���
�"�$�$�D�������A��F�F�H�H�H��t�~���!�#�#�#�#��t�y�>�>�Q������J�J�L�L�L��t�y�>�>�Q������rc�Z�tj��}|�td��}t	|j��dksJ�t	|j��dksJ�|���t	|j��dksJ�t	|j��dksJ�dS)z#Test control of longer-running jobsg�������?r rN)rrrrr!�runningr"rrs  r�test_longerr*Js���
�"�$�$�D�	
����#���A��t�|����!�!�!�!��t�~���!�#�#�#�#��F�F�H�H�H��t�|����!�!�!�!��t�~���!�#�#�#�#�#�#r)�__doc__r	�IPython.librrrrrrr%r'r*�rr�<module>r.s���������-�,�,�,�,�,�
��
������<�<�<�<�+�+�+�$�$�$����$�$�$�$�$r

Youez - 2016 - github.com/yon3zu
LinuXploit