| 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 : |
R
>lqjn c � � Q s ] PHs] PHs] PHs] PHs]QHGs ]QHGsG s ]QH(GsGs \% c ] QH4Gs ] QH<Gs L] QHDGs ] QHHGs Q Q2 s Q Q \\O( 2 s Q
Q\\O( 2 s\% f ] QH\Gs Q
Q\\O( 2 s\Q6X c \O6 2 P! P! )z'
Tests for pathlib.types._WritablePath
)�is_pypi)�WritableLocalPath�LocalPathGround)�WritableZipPath�
ZipPathGround)�
_WritablePath)�vfsopenc �$ ` � \ sQ s]s n Q sQ sQ sQ sQ s\ O \ \O Q] 2 % ( Q2 Q 2 sQ sQ
sQ s\ O \ \O Q] 2 % ( Q2 Q 2 sQ
sQ sQ sQsU sP! )�
WriteTestBasec �F � U O O 2 U m P! �N)�ground�setup�root��selfs &�1C:\Python315\\Lib\test\test_pathlib\test_write.py�setUp�WriteTestBase.setUp s � ��K�K�%�%�'�� � c �R � U O O U O 2 P! r )r �teardownr r s &r �tearDown�WriteTestBase.tearDown s � ������T�Y�Y�'r c �H � U O U O [ 2 P! r )�assertIsInstancer r r s &r �test_is_writable�WriteTestBase.test_is_writable s � ����d�i�i��7r c �J � U O Q * o[ UQQQ5 9^tt^ 2 oU O U[ O 2 UO Q2 PPP2 U O
U O O U2 Q2 P! ) % f h K=9 h)�fileA�w�utf-8��encodingzthis is file A
) r r r �io�
TextIOBase�write�assertEqualr �readtext�r �p�fs & r �test_open_w�WriteTestBase.test_open_w sr � ��I�I����
�Q��g�
.�
.�!��!�!�!�R�]�]�3�
�G�G�&�'� /�
������-�-�a�0�2D�E� /�
.�s �2B�B" �B" c �� � U O Q * oU O [ [ UQ] Q5 U O [ [ UQ]Q5 U O [ [ UQQQ5 P! )r r )� buffering� )r �assertRaises�
ValueErrorr �r r) s & r �test_open_w_buffering_error�)WriteTestBase.test_open_w_buffering_error'