__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

"j4g�:���SrSSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKJ	r	 SSKJ
r
 SSKJr SSKJr SSKJ
r
 SS	KJr SS
KJr SSKJr SSKJr SS
KJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJ r  SSKJ!r! SSKJ"r" SSKJ#r# SSKJ$r$ SSKJ%r% SSKJ&r& \RNRPr(\RR"5r*S r+S!r,"S"S#\5r-"S$S%\-5r.\R^"\(+S&5"S'S(\55r0"S)S*\5r1\2S+:XaSS,K3J4r4 \4"\55 gg)-a�Tests for detecting function memory leaks (typically the ones
implemented in C). It does so by calling a function many times and
checking whether process memory usage keeps increasing between
calls or over time.
Note that this may produce false positives (especially on Windows
for some reason).
PyPy appears to be completely unstable for this framework, probably
because of how its JIT handles memory, so tests are skipped.
�)�print_functionN)�LINUX)�MACOS)�OPENBSD)�POSIX)�SUNOS)�WINDOWS)�ProcessLookupError)�super)�HAS_CPU_AFFINITY)�HAS_CPU_FREQ)�HAS_ENVIRON)�
HAS_IONICE)�HAS_MEMORY_MAPS)�HAS_NET_IO_COUNTERS)�HAS_PROC_CPU_NUM)�HAS_PROC_IO_COUNTERS)�
HAS_RLIMIT)�HAS_SENSORS_BATTERY)�HAS_SENSORS_FANS)�HAS_SENSORS_TEMPERATURES)�TestMemoryLeak)�create_sockets)�
get_testfn)�process_namespace)�skip_on_access_denied)�spawn_testproc)�system_namespace)�	terminate�c��SnU$)zkDecorator for those Linux functions which are implemented in pure
Python, and which we want to run faster.
c�F^�[R"T5U4Sj5nU$)Nc��>�[(aHURRn[URlT"U/UQ70UD6X0Rl$T"U/UQ70UD6$!X0Rlf=f�N)r�	__class__�times�	FEW_TIMES)�self�args�kwargs�before�funs    ��</usr/lib/python3/dist-packages/psutil/tests/test_memleaks.py�wrapper�5fewtimes_if_linux.<locals>.decorator.<locals>.wrapperCsg����u����-�-��2�+4�D�N�N�(��t�5�d�5�f�5�+1�N�N�(��4�1�$�1�&�1�1��,2�N�N�(�s� A!�!A3)�	functools�wraps)r,r.s` r-�	decorator�$fewtimes_if_linux.<locals>.decoratorBs%���	����	�		2�
�		2����)r2s r-�fewtimes_if_linuxr6=s��

��r4c���\rSrSrSr\rSr\"5S5r	\"5S5r
\"5S5r\"5S5r\
R"\(+S5\"5S	55r\
R"\(+S5\"5S
55r\"5S5rSrS
r\
R"\(+S5S5r\
R"\(+S5S5r\
R"\(+S5\"5S55r\
R"\S5S5r\"5S5r\"5\"\S9S55r\
R"\(+S5S5r \
R"\(+S5\"5S55r!\"5S5r"\"5\"\S9S55r#\"5S5r$\"5\
R"\%(+S5S55r&\"5S5r'\"5S5r(\
R"\(+S5\"5S 55r)S!r*\"5S"5r+\
R"\,(+S5S#5r-\
R"\,(+S5S$5r.\"5S%5r/\
R"\0(+S5\"5S&55r1\
R"\2(+S'5\
R"\3(+S5S(55r4\
R"\2(+S'5\
R"\3(+S5S)55r5\"5\
R"\S*5S+55r6\
R"\7(+S5S,5r8\
R"\(+S5S-5r9S.r:g/)0�TestProcessObjectLeaks�Yz$Test leaks of Process class methods.c�j�[S5nURXRUR-5 gr$)r�test_class_coverage�getters�setters�r(�nss  r-�
test_coverage�$TestProcessObjectLeaks.test_coverage^s'��
�t�
$��
���t�Z�Z�"�*�*�%<�=r4c�N�URURR5 gr$)�execute�proc�name�r(s r-�	test_name� TestProcessObjectLeaks.test_nameb������T�Y�Y�^�^�$r4c�N�URURR5 gr$)rCrD�cmdlinerFs r-�test_cmdline�#TestProcessObjectLeaks.test_cmdlinef������T�Y�Y�&�&�'r4c�N�URURR5 gr$)rCrD�exerFs r-�test_exe�TestProcessObjectLeaks.test_exej������T�Y�Y�]�]�#r4c�N�URURR5 gr$)rCrD�ppidrFs r-�	test_ppid� TestProcessObjectLeaks.test_ppidnrIr4z
POSIX onlyc�N�URURR5 gr$)rCrD�uidsrFs r-�	test_uids� TestProcessObjectLeaks.test_uidsr���	
���T�Y�Y�^�^�$r4c�N�URURR5 gr$)rCrD�gidsrFs r-�	test_gids� TestProcessObjectLeaks.test_gidswr\r4c�N�URURR5 gr$)rCrD�statusrFs r-�test_status�"TestProcessObjectLeaks.test_status|������T�Y�Y�%�%�&r4c�N�URURR5 gr$)rCrD�nicerFs r-�	test_nice� TestProcessObjectLeaks.test_nice�s�����T�Y�Y�^�^�$r4c�\^^�[R5mTRUU4Sj5 g)Nc�:>�TRRT5$r$)rDrg)�nicenessr(s��r-�<lambda>�6TestProcessObjectLeaks.test_nice_set.<locals>.<lambda>�s���T�Y�Y�^�^�H�5r4)�thisprocrgrC)r(rls`@r-�
test_nice_set�$TestProcessObjectLeaks.test_nice_set�s����=�=�?�����5�6r4�
not supportedc�N�URURR5 gr$)rCrD�ionicerFs r-�test_ionice�"TestProcessObjectLeaks.test_ionice�rer4c�>^^�[(a+[R5mTRUU4Sj5 gTRU4Sj5 [R
"[R[R"5SS5nTR[U5 g)Nc�:>�TRRT5$r$)rDrt)r(�values��r-rm�8TestProcessObjectLeaks.test_ionice_set.<locals>.<lambda>�s������!1�!1�%�!8r4c�V>�TRR[R5$r$)rDrt�psutil�IOPRIO_CLASS_NONErFs�r-rmrz�s������!1�!1�&�2J�2J�!Kr4���r)r	rortrCr0�partial�cext�proc_ioprio_set�os�getpid�
execute_w_exc�OSError)r(r,rys` @r-�test_ionice_set�&TestProcessObjectLeaks.test_ionice_set�s`����7��O�O�%�E��L�L�8�9��L�L�K�L��#�#�D�$8�$8�"�)�)�+�r�1�M�C����w��,r4c�N�URURR5 gr$)rCrD�io_countersrFs r-�test_io_counters�'TestProcessObjectLeaks.test_io_counters����	
���T�Y�Y�*�*�+r4zworthless on POSIXc��[R"5R5 URURR5 gr$)r|�Process�usernamerCrDrFs r-�
test_username�$TestProcessObjectLeaks.test_username�s-��	����!�!�#����T�Y�Y�'�'�(r4c�N�URURR5 gr$)rCrD�create_timerFs r-�test_create_time�'TestProcessObjectLeaks.test_create_time�������T�Y�Y�*�*�+r4)�only_ifc�N�URURR5 gr$)rCrD�num_threadsrFs r-�test_num_threads�'TestProcessObjectLeaks.test_num_threads�r�r4�WINDOWS onlyc�N�URURR5 gr$)rCrD�num_handlesrFs r-�test_num_handles�'TestProcessObjectLeaks.test_num_handles�r�r4c�N�URURR5 gr$)rCrD�num_fdsrFs r-�test_num_fds�#TestProcessObjectLeaks.test_num_fds����	
���T�Y�Y�&�&�'r4c�N�URURR5 gr$)rCrD�num_ctx_switchesrFs r-�test_num_ctx_switches�,TestProcessObjectLeaks.test_num_ctx_switches�������T�Y�Y�/�/�0r4c�N�URURR5 gr$)rCrD�threadsrFs r-�test_threads�#TestProcessObjectLeaks.test_threads�r�r4c�N�URURR5 gr$)rCrD�	cpu_timesrFs r-�test_cpu_times�%TestProcessObjectLeaks.test_cpu_times�s�����T�Y�Y�(�(�)r4c�N�URURR5 gr$)rCrD�cpu_numrFs r-�test_cpu_num�#TestProcessObjectLeaks.test_cpu_num�r�r4c�N�URURR5 gr$)rCrD�memory_inforFs r-�test_memory_info�'TestProcessObjectLeaks.test_memory_info�r�r4c�N�URURR5 gr$)rCrD�memory_full_inforFs r-�test_memory_full_info�,TestProcessObjectLeaks.test_memory_full_info�r�r4c�N�URURR5 gr$)rCrD�terminalrFs r-�
test_terminal�$TestProcessObjectLeaks.test_terminal�s��	
���T�Y�Y�'�'�(r4c��[(a[OURnURURR
US9 g)N�r&)rr'r&rCrD�resume�r(r&s  r-�test_resume�"TestProcessObjectLeaks.test_resume�s+��"�U�	��
�
�����T�Y�Y�%�%�U��3r4c�N�URURR5 gr$)rCrD�cwdrFs r-�test_cwd�TestProcessObjectLeaks.test_cwd�rSr4c�N�URURR5 gr$)rCrD�cpu_affinityrFs r-�test_cpu_affinity�(TestProcessObjectLeaks.test_cpu_affinity�s�����T�Y�Y�+�+�,r4c�^^�[R5mTRUU4Sj5 TR[U4Sj5 g)Nc�:>�TRRT5$r$�rDr�)�affinityr(s��r-rm�>TestProcessObjectLeaks.test_cpu_affinity_set.<locals>.<lambda>�s���T�Y�Y�3�3�H�=r4c�<>�TRRS/5$�Nr~r�rFs�r-rmr��s���t�y�y�/E�/E�r�d�/Kr4)ror�rCr��
ValueError)r(r�s`@r-�test_cpu_affinity_set�,TestProcessObjectLeaks.test_cpu_affinity_set�s/����(�(�*�����=�>����:�'K�Lr4c��[[5S5 URURR5 SSS5 g!,(df   g=f)N�w)�openrrCrD�
open_filesrFs r-�test_open_files�&TestProcessObjectLeaks.test_open_files�s0��
�*�,��
$��L�L����-�-�.�%�
$�
$�s�&A�
Ac�N�URURR5 gr$)rCrD�memory_mapsrFs r-�test_memory_maps�'TestProcessObjectLeaks.test_memory_maps�r�r4z
LINUX onlyc�0^�TRU4Sj5 g)Nc�V>�TRR[R5$r$�rD�rlimitr|�
RLIMIT_NOFILErFs�r-rm�4TestProcessObjectLeaks.test_rlimit.<locals>.<lambda>�s���T�Y�Y�-�-�f�.B�.B�Cr4�rCrFs`r-�test_rlimit�"TestProcessObjectLeaks.test_rlimit�s���	
���C�Dr4c�^^�[R[R5mTR	UU4Sj5 TR[[4U4Sj5 g)Nc�X>�TRR[RT5$r$r�)�limitr(s��r-rm�8TestProcessObjectLeaks.test_rlimit_set.<locals>.<lambda>�s���T�Y�Y�-�-�f�.B�.B�E�Jr4c�:>�TRRS5$r�)rDr�rFs�r-rmr��s���$�)�)�:J�:J�2�:Nr4)ror�r|r�rCr�r�r�)r(r�s`@r-�test_rlimit_set�&TestProcessObjectLeaks.test_rlimit_set�s<������� 4� 4�5�����J�K����G�Z�0�2N�Or4zworthless on WINDOWSc�^^�[5 [(aSOSmTRUU4Sj5 SSS5 g!,(df   g=f)N�inet�allc�:>�TRRT5$r$)rD�connections)�kindr(s��r-rm�9TestProcessObjectLeaks.test_connections.<locals>.<lambda>s������!6�!6�t�!<r4)rrrC)r(r�s`@r-�test_connections�'TestProcessObjectLeaks.test_connections�s/����
�"�U�6��D��L�L�<�=��
�
�s	�&<�
A
c�N�URURR5 gr$)rCrD�environrFs r-�test_environ�#TestProcessObjectLeaks.test_environrNr4c�(�URS5 g)Nc�R�[R[R"55$r$)r��	proc_infor�r�r5r4r-rm�7TestProcessObjectLeaks.test_proc_info.<locals>.<lambda>s��T�^�^�B�I�I�K�8r4r�rFs r-�test_proc_info�%TestProcessObjectLeaks.test_proc_info	s�����8�9r4r5N);�__name__�
__module__�__qualname__�__firstlineno__�__doc__rorDr@r6rGrLrQrV�unittest�skipIfrrZr_rcrhrprrur�rr�r�r�rrr�r	r�r�r�r�r�rr�r�r�r�r�r�rr�r�r�rr�rrr�r�r�rrr�__static_attributes__r5r4r-r8r8Ys^��.��D�>���%��%���(��(���$��$���%��%��_�_��Y��-���%��.�%��_�_��Y��-���%��.�%���'��'�%�7��_�_��^�_�5�'�6�'��_�_��^�_�5�-�6�-��_�_�-�-��?���,��@�,��_�_�U�0�1�)�2�)�
��,��,����7�+�,�,��,��_�_��[�.�1�,�2�,��_�_��Y��-���(��.�(���1��1����7�+�(�,��(���*��*���
�_�_�)�)�?�;�(�<��(���,��,���1��1��_�_��Y��-���)��.�)�4���$��$��_�_�)�)�?�;�-�<�-��_�_�)�)�?�;�M�<�M�
��/��/��_�_��(�/�:���,��;�,��_�_��Y��-�
�_�_��^�_�5�E�6�.�E��_�_��Y��-�
�_�_��^�_�5�P�6�.�P�
���_�_�W�4�5�>�6��>��_�_��_�o�6�(�7�(��_�_��[�.�1�:�2�:r4r8c�^�\rSrSrSr\U4Sj5r\U4Sj5rSr\	(aSr
SrSrS	r
S
rSrSrU=r$SrU=r$)
�TestTerminatedProcessLeaksiz�Repeat the tests above looking for leaks occurring when dealing
with terminated processes raising NoSuchProcess exception.
The C functions are still invoked but will follow different code
paths. We'll check those code paths.
c�>�[5R5 [5Ul[R
"URR5UlURR5 URR5 gr$)
r�
setUpClassr�subpr|r��pidrD�kill�wait��clsr%s �r-r�%TestTerminatedProcessLeaks.setUpClasssM���
�����!�#����>�>�#�(�(�,�,�/������
�
�����
�
�r4c�`>�[5R5 [UR5 gr$)r�
tearDownClassrrrs �r-r�(TestTerminatedProcessLeaks.tearDownClasss���
������#�(�(�r4c�H�U"5 g![Ra gf=fr$)r|�
NoSuchProcess)r(r,s  r-�call�TestTerminatedProcessLeaks.call"s$��	��E���#�#�	��	�s�
�!�!c�N�URURR5 gr$)rCrDrrFs r-�	test_kill�$TestTerminatedProcessLeaks.test_kill*����L�L������(r4c�N�URURR5 gr$)rCrDrrFs r-�test_terminate�)TestTerminatedProcessLeaks.test_terminate-s���L�L����,�,�-r4c�N�URURR5 gr$)rCrD�suspendrFs r-�test_suspend�'TestTerminatedProcessLeaks.test_suspend0s���L�L����*�*�+r4c�N�URURR5 gr$)rCrDr�rFs r-r��&TestTerminatedProcessLeaks.test_resume3s���L�L����)�)�*r4c�N�URURR5 gr$)rCrDrrFs r-�	test_wait�$TestTerminatedProcessLeaks.test_wait6r%r4c�4^�U4SjnTRU5 g)Nc�x>�[RTRR5$![a gf=fr$)r�rrDrr
rFs�r-r �7TestTerminatedProcessLeaks.test_proc_info.<locals>.call;s1�����>�>�$�)�)�-�-�8�8��)����s�(,�
9�9r�)r(r s` r-r�)TestTerminatedProcessLeaks.test_proc_info9s���
�
�L�L��r4r5)rr	r
rr�classmethodrrr r	r#r'r+r�r0rr�
__classcell__)r%s@r-rrsb��������������	)�	.�	,�	+�	)�	�	�#r4rr�c� �\rSrSrSrSrSrg)�TestProcessDualImplementationiDc�(�URS5 g)Nc�P�[R[R"5SS9$)NT��use_peb�r��proc_cmdliner�r�r5r4r-rm�ETestProcessDualImplementation.test_cmdline_peb_true.<locals>.<lambda>Gs��T�.�.�r�y�y�{�D�.�Ir4r�rFs r-�test_cmdline_peb_true�3TestProcessDualImplementation.test_cmdline_peb_trueFs�����I�Jr4c�(�URS5 g)Nc�P�[R[R"5SS9$)NFr<r>r5r4r-rm�FTestProcessDualImplementation.test_cmdline_peb_false.<locals>.<lambda>Js��T�.�.�r�y�y�{�E�.�Jr4r�rFs r-�test_cmdline_peb_false�4TestProcessDualImplementation.test_cmdline_peb_falseIs�����J�Kr4r5N)rr	r
rrArFrr5r4r-r9r9Ds��K�Lr4r9c��\rSrSrSrSr\"5S5r\"5S5r\"5S5r	\"5S5r
\"5S5r\"5\R"\=(a \R "5S	:HS
5\R"\(+S5S555r\R"\(+S
5S5rSr\R"\S5S5rSrSrSr\R"\=(a  \R:R=S5(+S5\"5S55r\"5S5r \"5\R"\!(+S5S55r"\"5\R"\=(a \RF"5S:gS5S55r$Sr%Sr&\"5\R"\'(+S5S55r(\"5\R"\)(+S5S 55r*\"5\R"\+(+S5S!55r,\"5S"5r-S#r.S$r/\(aS%r0S&r1S'r2S(r3S)r4S*r5g+S*r5g+),�TestModuleFunctionsLeaksiRz&Test leaks of psutil module functions.c�N�[5nURXR5 gr$)rr;r�r>s  r-r@�&TestModuleFunctionsLeaks.test_coverageUs��
�
��
���t�V�V�,r4c�(�URS5 g)Nc�*�[R"SS9$)NT��logical�r|�	cpu_countr5r4r-rm�9TestModuleFunctionsLeaks.test_cpu_count.<locals>.<lambda>]s��V�-�-�d�;r4r�rFs r-�test_cpu_count�'TestModuleFunctionsLeaks.test_cpu_count[s�����;�<r4c�(�URS5 g)Nc�*�[R"SS9$)NFrNrPr5r4r-rm�?TestModuleFunctionsLeaks.test_cpu_count_cores.<locals>.<lambda>as��V�-�-�e�<r4r�rFs r-�test_cpu_count_cores�-TestModuleFunctionsLeaks.test_cpu_count_cores_s�����<�=r4c�B�UR[R5 gr$)rCr|r�rFs r-r��'TestModuleFunctionsLeaks.test_cpu_timesc������V�%�%�&r4c�(�URS5 g)Nc�*�[R"SS9$)NT)�percpu)r|r�r5r4r-rm�=TestModuleFunctionsLeaks.test_per_cpu_times.<locals>.<lambda>is��V�-�-�T�:r4r�rFs r-�test_per_cpu_times�+TestModuleFunctionsLeaks.test_per_cpu_timesgs�����:�;r4c�B�UR[R5 gr$)rCr|�	cpu_statsrFs r-�test_cpu_stats�'TestModuleFunctionsLeaks.test_cpu_statskr\r4�arm64zskipped due to #1892rrc�B�UR[R5 gr$)rCr|�cpu_freqrFs r-�
test_cpu_freq�&TestModuleFunctionsLeaks.test_cpu_freqos��	
���V�_�_�%r4r�c�l�[R"5 UR[R5 gr$)r|�
getloadavgrCrFs r-�test_getloadavg�(TestModuleFunctionsLeaks.test_getloadavgxs ���������V�&�&�'r4c�B�UR[R5 gr$)rCr|�virtual_memoryrFs r-�test_virtual_memory�,TestModuleFunctionsLeaks.test_virtual_memorys�����V�*�*�+r4z&worthless on SUNOS (uses a subprocess)c�B�UR[R5 gr$)rCr|�swap_memoryrFs r-�test_swap_memory�)TestModuleFunctionsLeaks.test_swap_memory�s�����V�'�'�(r4c�`�[(a[OURnURSUS9 g)Nc�T�[R"[R"55$r$)r|�
pid_existsr�r�r5r4r-rm�:TestModuleFunctionsLeaks.test_pid_exists.<locals>.<lambda>�s��V�.�.�r�y�y�{�;r4r��rr'r&rCr�s  r-�test_pid_exists�(TestModuleFunctionsLeaks.test_pid_exists�s"��"�U�	��
�
�����;�5��Ir4c�`�[(a[OURnURSUS9 g)Nc�.�[R"S5$)N�.)r|�
disk_usager5r4r-rm�:TestModuleFunctionsLeaks.test_disk_usage.<locals>.<lambda>�s��V�.�.�s�3r4r�r|r�s  r-�test_disk_usage�(TestModuleFunctionsLeaks.test_disk_usage�s"��"�U�	��
�
�����3�5��Ar4c�B�UR[R5 gr$)rCr|�disk_partitionsrFs r-�test_disk_partitions�-TestModuleFunctionsLeaks.test_disk_partitions�s�����V�+�+�,r4z/proc/diskstatsz3/proc/diskstats not available on this Linux versionc�(�URS5 g)Nc�*�[R"SS9$�NF)�nowrap)r|�disk_io_countersr5r4r-rm�@TestModuleFunctionsLeaks.test_disk_io_counters.<locals>.<lambda>�s��V�4�4�E�Br4r�rFs r-�test_disk_io_counters�.TestModuleFunctionsLeaks.test_disk_io_counters�s��	
���B�Cr4c�B�UR[R5 gr$)rCr|�pidsrFs r-�	test_pids�"TestModuleFunctionsLeaks.test_pids�s�����V�[�[�!r4c�(�URS5 g)Nc�*�[R"SS9$r�)r|�net_io_countersr5r4r-rm�?TestModuleFunctionsLeaks.test_net_io_counters.<locals>.<lambda>�s��V�3�3�5�Ar4r�rFs r-�test_net_io_counters�-TestModuleFunctionsLeaks.test_net_io_counters�s��	
���A�Br4rzneed root accessc��[R"SS9 [5 URS5 SSS5 g!,(df   g=f)Nr��r�c�*�[R"SS9$)Nr�r�)r|�net_connectionsr5r4r-rm�?TestModuleFunctionsLeaks.test_net_connections.<locals>.<lambda>�s���!7�!7�U�!Cr4)r|r�rrCrFs r-�test_net_connections�-TestModuleFunctionsLeaks.test_net_connections�s1��	���E�*�
�
��L�L�C�D��
�
�s	�;�
A	c�r�[(aSOURnUR[RUS9 g)Ni@)�	tolerance)r	r�rCr|�net_if_addrs)r(r�s  r-�test_net_if_addrs�*TestModuleFunctionsLeaks.test_net_if_addrs�s'��!(��I�d�n�n�	����V�(�(�I��>r4c�B�UR[R5 gr$)rCr|�net_if_statsrFs r-�test_net_if_stats�*TestModuleFunctionsLeaks.test_net_if_stats�s�����V�(�(�)r4c�B�UR[R5 gr$)rCr|�sensors_batteryrFs r-�test_sensors_battery�-TestModuleFunctionsLeaks.test_sensors_battery�s��	
���V�+�+�,r4c�B�UR[R5 gr$)rCr|�sensors_temperaturesrFs r-�test_sensors_temperatures�2TestModuleFunctionsLeaks.test_sensors_temperatures�s��	
���V�0�0�1r4c�B�UR[R5 gr$)rCr|�sensors_fansrFs r-�test_sensors_fans�*TestModuleFunctionsLeaks.test_sensors_fans�s��	
���V�(�(�)r4c�B�UR[R5 gr$)rCr|�	boot_timerFs r-�test_boot_time�'TestModuleFunctionsLeaks.test_boot_time�r\r4c�B�UR[R5 gr$)rCr|�usersrFs r-�
test_users�#TestModuleFunctionsLeaks.test_users�s�����V�\�\�"r4c�(�URS5 g)Nc�.�[R"S5$)NF)r|�
_set_debugr5r4r-rm�9TestModuleFunctionsLeaks.test_set_debug.<locals>.<lambda>�s��V�.�.�u�5r4r�rFs r-�test_set_debug�'TestModuleFunctionsLeaks.test_set_debug�s�����5�6r4c�B�UR[R5 gr$)rCr��winservice_enumeraterFs r-�test_win_service_iter�.TestModuleFunctionsLeaks.test_win_service_iter�s���L�L��2�2�3r4c��gr$r5rFs r-�test_win_service_get�-TestModuleFunctionsLeaks.test_win_service_get�s��r4c�^�[[R"55R5mUR	U4Sj5 g)Nc�.>�[RT5$r$)r��winservice_query_config�rEs�r-rm�FTestModuleFunctionsLeaks.test_win_service_get_config.<locals>.<lambda>������!=�!=�d�!Cr4��nextr|�win_service_iterrErC�r(rEs @r-�test_win_service_get_config�4TestModuleFunctionsLeaks.test_win_service_get_config��,�����/�/�1�2�7�7�9�D��L�L�C�Dr4c�^�[[R"55R5mUR	U4Sj5 g)Nc�.>�[RT5$r$)r��winservice_query_statusr�s�r-rm�FTestModuleFunctionsLeaks.test_win_service_get_status.<locals>.<lambda>�r�r4r�r�s @r-�test_win_service_get_status�4TestModuleFunctionsLeaks.test_win_service_get_status�r�r4c�^�[[R"55R5mUR	U4Sj5 g)Nc�.>�[RT5$r$)r��winservice_query_descrr�s�r-rm�KTestModuleFunctionsLeaks.test_win_service_get_description.<locals>.<lambda>�s����!<�!<�T�!Br4r�r�s @r-� test_win_service_get_description�9TestModuleFunctionsLeaks.test_win_service_get_description�s,�����/�/�1�2�7�7�9�D��L�L�B�Cr4r5N)6rr	r
rrr@r6rSrXr�rarer
rr�platform�machiner
rjr	rnrrrrvr}r�r�rr��path�existsr�r�rr��getuidr�r�r�rr�rr�rr�r�r�r�r�r�r�r�r�rr5r4r-rIrIRs���0�-���=��=���>��>���'��'���<��<���'��'���
�_�_�
�/�(�"�"�$��/�1G���_�_��%��7�&�8���&��_�_��[�.�1�(�2�(�,��_�_�U�D�E�)�F�)�J�B�-��_�_�
�7�b�g�g�n�n�%6�7�7�=����D��	�
D�
��"��"�
��
�_�_�,�,�o�>�C�?��C���
�_�_�U�/�r�y�y�{�a�/�1C�D�E�E��E�?�
*�
��
�_�_�,�,�o�>�-�?��-���
�_�_�1�1�?�C�2�D��2���
�_�_�)�)�?�;�*�<��*�
��'��'�#�7��	4�	�	E�	E�	D�%r4rI�__main__)�
run_from_name)6r�
__future__rr0r�r�r
r|�psutil._commonrrrrrr	�psutil._compatr
r�psutil.testsrr
rrrrrrrrrrrrrrrrrr�_psplatformr�r�ror'r6r8rrr9rIr�psutil.tests.runnerr��__file__r5r4r-�<module>r�s���&��	���
��������-� �)�%�$�#�(�,�)�-�#�,�)�1�'�'�#�*�.�'�)�"��������>�>���
�	��8r:�^�r:�j3�!7�3�l
���W��n�-�L�N�L�.�L�XD�~�XD�v�z��1��(��r4

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 91.2 KB 0644
__main__.cpython-313.pyc File 295 B 0644
runner.cpython-313.pyc File 17.87 KB 0644
test_aix.cpython-313.pyc File 5.58 KB 0644
test_bsd.cpython-313.pyc File 35.72 KB 0644
test_connections.cpython-313.pyc File 28.36 KB 0644
test_contracts.cpython-313.pyc File 23.74 KB 0644
test_linux.cpython-313.pyc File 138.04 KB 0644
test_memleaks.cpython-313.pyc File 34.66 KB 0644
test_misc.cpython-313.pyc File 54.59 KB 0644
test_osx.cpython-313.pyc File 11.29 KB 0644
test_posix.cpython-313.pyc File 24.29 KB 0644
test_process.cpython-313.pyc File 98.9 KB 0644
test_process_all.cpython-313.pyc File 25.5 KB 0644
test_sunos.cpython-313.pyc File 2.33 KB 0644
test_system.cpython-313.pyc File 56.49 KB 0644
test_testutils.cpython-313.pyc File 29.34 KB 0644
test_unicode.cpython-313.pyc File 17.55 KB 0644
test_windows.cpython-313.pyc File 57.12 KB 0644
Filemanager