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/test/test_pathlib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/test_pathlib/__pycache__/test_copy.cpython-315.opt-2.pyc
R
>lqjfc�X�]PHs]PHs]QHGs]QHGs]QHGsGsG	s	QQ2s
QQ\
\O2s\%fI]QH4GsQ	Q
\
\O2sQQ\
\O2sQ
Q\
\O2s\Q6Xc\O&2P!P!)�)�is_pypi)�LocalPathGround)�
ZipPathGround�ReadableZipPath�WritableZipPathc�|`�\sQs]
snQsQsQsQsQsQs	Qs
QsQ	sQ
s
QsQsQ
sQsQsQsUsP!)�CopyTestBasec���UOO2UmUOOUO2UOOQQ5UmP!)�_target)�local_suffix)�
source_ground�setup�source_root�create_hierarchy�
target_ground�target_root��selfs&�0C:\Python315\\Lib\test\test_pathlib\test_copy.py�setUp�CopyTestBase.setUpsO���-�-�3�3�5������+�+�D�,<�,<�=��-�-�3�3��3�K���c��UOOUO2UOOUO2P!)N)r�teardownrrrrs&r�tearDown�CopyTestBase.tearDowns6�����#�#�D�$4�$4�5����#�#�D�$4�$4�5rc�t�UOQ*oUOQ*oUOU2oUOV22UO	UO
O
U22UOUOOU2UO
OU22P!)�fileA�copyA)	rr�copy�assertEqual�
assertTruer�isfiler�	readbytes�r�source�target�results&   r�test_copy_file�CopyTestBase.test_copy_files����!�!�G�+���!�!�G�+�����V�$������(�����*�*�1�1�&�9�:�����+�+�5�5�f�=��+�+�5�5�f�=�	?rc�z�UOQ*oUOQ*oUOOUQ2UO	U2oUOV22UO
UOOU22UOUOOU2Q2P!)�emptyrr)
rrr�create_filerr r!rr"r#r$s&   r�test_copy_file_empty�!CopyTestBase.test_copy_file_empty s����!�!�G�+���!�!�G�+�����&�&�v�s�3����V�$������(�����*�*�1�1�&�9�:�����+�+�5�5�f�=�s�Crc��UOQ*oUOQ*oUOOUQ2[O
29^tt^2o[
U[2%c%UOUO[22UOU2oPPP2UOWU2UOUOOU22UOUOO!U2UOO!U22P!)%fhK�9h)rrsthis is a copy
)rrrr,�
contextlib�	ExitStack�
isinstancer�
enter_context�assertWarns�UserWarningrr r!r"rr#)rr%r&�stackr's&    r�test_copy_file_to_existing_file�,CopyTestBase.test_copy_file_to_existing_file)s����!�!�G�+���!�!�G�+�����&�&�v�/B�C�
�
!�
!�
#�
#�u��&�/�2�2��#�#�D�$4�$4�[�$A�B��[�[��(�F�$�	
�����(�����*�*�1�1�&�9�:�����+�+�5�5�f�=��+�+�5�5�f�=�	?�
$�
#�s�!D7�85D7�7E	�E	c�.�[UO[2%cUOQ2UOQ*oUOQ*oUO
O
U2UO[UOU2P!)�needs local targetrr)
r2rr�skipTestrr�
create_dir�assertRaises�OSErrorr�rr%r&s&  r�test_copy_file_to_directory�(CopyTestBase.test_copy_file_to_directory6sl���d�&�&��8�8��M�M�.�/��!�!�G�+���!�!�G�+�����%�%�f�-����'�6�;�;��7rc��UOQ*oUO[UOU2UO[UOUP
Q5P!)r��follow_symlinks�rr=r>r�rr%s& r�test_copy_file_to_itself�%CopyTestBase.test_copy_file_to_itself>sC���!�!�G�+�����'�6�;�;��7����'�6�;�;����Nrc��UOQ*oUOQ*oUOU2oUOV22UO	UO
O
U22UO	UO
OUQ*22UOUO
OUQ*2Q2UO	UO
O
UQ*22UO	UO
OUQ*Q*22UOUO
OUQ*Q*2Q2P!)�dirC�copyC�fileC�this is file C
�dirD�fileD�this is file D
)	rrrr r!r�isdirr"�readtextr$s&   r�
test_copy_dir�CopyTestBase.test_copy_dirCs���!�!�F�*���!�!�G�+�����V�$������(�����*�*�0�0��8�9�����*�*�1�1�&�7�2B�C�D�����+�+�4�4�V�g�5E�F�HZ�[�����*�*�0�0��&��A�B�����*�*�1�1�&�6�/�G�2K�L�M�����+�+�4�4�V�f�_�w�5N�O�Qc�drc��UOO%fUOQ2UOQ*oUOQ*oUOOUQ*Q2UOOUQ*Q2UO
U2oUOV22UOUOOU22UOUOOUQ*22UOUOOUQ*22UOUOOUQ*2Q2UOUOOUQ*22UOUOOUQ*22UOUOOUQ*Q*22UOUOOUQ*Q*2Q	2P!)
�needs symlink support on sourcerJrK�linkCrL�linkDrNrMrOrP)r�can_symlinkr;rr�create_symlinkrr r!rrQ�assertFalse�islinkr"rRr$s&   r�"test_copy_dir_follow_symlinks_true�/CopyTestBase.test_copy_dir_follow_symlinks_trueOs����!�!�-�-�-��M�M�;�<��!�!�F�*���!�!�G�+�����)�)�&�7�*:�G�D����)�)�&�7�*:�F�C����V�$������(�����*�*�0�0��8�9�����+�+�2�2�6�G�3C�D�E�����*�*�1�1�&�7�2B�C�D�����+�+�4�4�V�g�5E�F�HZ�[�����+�+�2�2�6�G�3C�D�E�����*�*�0�0��'�1A�B�C�����*�*�1�1�&�7�2B�W�2L�M�N�����+�+�4�4�V�g�5E��5O�P�Rd�erc��UOO%fUOQ2UOO%fUOQ2UOQ*oUO
Q*oUOO
UQ*Q2UOO
UQ*Q2UOUP
Q5oUOV22UOUOOU22UOUOOUQ*22UOUOOUQ*2Q2UOUOOUQ*22UOUOOUQ*2Q2P!)	rVzneeds symlink support on targetrJrKrWrLrXrNrC)
rrYr;rrrrZrr r!rQr\�readlinkr$s&   r�#test_copy_dir_follow_symlinks_false�0CopyTestBase.test_copy_dir_follow_symlinks_falseasc���!�!�-�-�-��M�M�;�<��!�!�-�-�-��M�M�;�<��!�!�F�*���!�!�G�+�����)�)�&�7�*:�G�D����)�)�&�7�*:�F�C����V�U��;������(�����*�*�0�0��8�9�����*�*�1�1�&�7�2B�C�D�����+�+�4�4�V�g�5E�F��P�����*�*�1�1�&�7�2B�C�D�����+�+�4�4�V�g�5E�F��Orc�.�[UO[2%cUOQ2UOQ*oUOQ*oUO
O
U2UO[UOU2P!)r:rJrK)
r2rrr;rrr<r=�FileExistsErrorrr?s&  r�#test_copy_dir_to_existing_directory�0CopyTestBase.test_copy_dir_to_existing_directoryrsl���d�&�&��8�8��M�M�.�/��!�!�F�*���!�!�G�+�����%�%�f�-����/�6�;�;��?rc��UOQ*oUO[UOU2UO[UOUP
Q5P!)rJrCrErFs& r�test_copy_dir_to_itself�$CopyTestBase.test_copy_dir_to_itselfzsC���!�!�F�*�����'�6�;�;��7����'�6�;�;����Nrc��UOQ*oUOQ*Q*Q*oUO[UOU2UO[UOUP
Q5P!)rJrNrKrCrEr?s&  r�test_copy_dir_into_itself�&CopyTestBase.test_copy_dir_into_itselfs]���!�!�F�*���!�!�F�*�V�3�g�=�����'�6�;�;��7����'�6�;�;����Nrc��UOQ*oUOQ*oUOOU2UO	U2oUOV2Q*2UO
UOOU22UOUOOU2UOOU22P!)r�dirA)
rrrr<�	copy_intor r!r"rr#)rr%�
target_dirr's&   r�test_copy_into�CopyTestBase.test_copy_into�s����!�!�G�+���%�%��.�
����%�%�j�1��!�!�*�-������g�!5�6�����*�*�1�1�&�9�:�����+�+�5�5�f�=��+�+�5�5�f�=�	?rc���UOO2oUOQ*oUOO	U2UO[UOU2P!)rn)r�
with_segmentsrrr<r=�
ValueErrorro)rr%rps&  r�test_copy_into_empty_name�&CopyTestBase.test_copy_into_empty_name�sR���!�!�/�/�1���%�%��.�
����%�%�j�1����*�f�&6�&6�
�Cr)rr)�__name__�
__module__�__qualname__�__firstlineno__rrr(r-r7r@rGrSr]rarerhrkrqrv�__static_attributes__�__classdictcell__)�
__classdict__s@rrr
s`����L�
6�?�D�?�8�O�

e�f�$P�"@�O�
O�?�D�Drrc�8�\sQs]�s\\2s\\2sQs	P!)�ZipToZipPathCopyTest�)
rxryrzr{rrrrrr|r�rrr�r��s��!�/�2�M�!�/�2�Mrr�)�Pathc�8�\sQs]�s\\2s\\2s	Qs
P!)�ZipToLocalPathCopyTestr�)rxryrzr{rrrrr�rr|r�rrr�r��s��%�o�6�
�'��-�
rr�c�8�\sQs]�s\\2s\\2s	Qs
P!)�LocalToZipPathCopyTestr�)rxryrzr{rr�rrrrr|r�rrr�r��s��'��-�
�%�o�6�
rr�c�8�\sQs]�s\\2s\\2sQsP!)�LocalToLocalPathCopyTestr�)	rxryrzr{rr�rrr|r�rrr�r��s��'��-�
�'��-�
rr��__main__)r0�unittest�supportr�support.local_pathr�support.zip_pathrrrr�TestCaser��pathlibr�r�r�r�rx�mainr�rr�<module>r�s���
���/�M�M�FD�FD�R3�<��):�):�3�
��.��x�/@�/@�.�
7��x�/@�/@�7�
.�<��1B�1B�.�
�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit