Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.225.117.244
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_read.pyc
�
���cc@s�ddlZddlZddlmZddlmZddlmZdejej	fd��YZ
dejej	fd	��YZd
dd��YZdeej	fd
��YZ
deejej	fd��YZedkr�ej�ndS(i����Ni(tdata01(tutil(t
import_moduletCommonBinaryTestscBseZd�ZRS(cCstj||�dS(N(t	resourcestread_binary(tselftpackagetpath((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pytexecute
s(t__name__t
__module__R	(((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyR	stCommonTextTestscBseZd�ZRS(cCstj||�dS(N(Rt	read_text(RRR((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyR	s(R
RR	(((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyRst	ReadTestscBs,eZd�Zd�Zd�Zd�ZRS(cCs)tj|jd�}|j|d�dS(Nsbinary.files(RRtdatatassertEqual(Rtresult((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyttest_read_binaryscCs)tj|jd�}|j|d�dS(Ns
utf-8.filesHello, UTF-8 world!
(RR
RR(RR((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyttest_read_text_default_encodingscCs/tj|jddd�}|j|d�dS(Nsutf-16.filetencodingsutf-16sHello, UTF-16 world!
(RR
RR(RR((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyttest_read_text_given_encodingscCsK|jttj|jd�tj|jddd�}|j|d�dS(Nsutf-16.fileterrorstignores*Hello, UTF-16 world!
(tassertRaisestUnicodeErrorRR
RR(RR((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyttest_read_text_with_errors!s(R
RRRRR(((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyRs			t
ReadDiskTestscBseZeZRS((R
RRR(((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyR-stReadZipTestscBseZd�Zd�ZRS(cCs2td�}tj|d�}|j|d�dS(Nsziptestdata.subdirectorysbinary.files(RRRR(Rt	submoduleR((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyttest_read_submodule_resource2scCs&tjdd�}|j|d�dS(Nsziptestdata.subdirectorysbinary.files(RRR(RR((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyt$test_read_submodule_resource_by_name8s(R
RRR(((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyR1s	t__main__((tunittesttimportlib_resourcesRtRRt	importlibRtCommonTeststTestCaseRRRRtZipSetupRR
tmain(((sG/usr/lib/python2.7/site-packages/importlib_resources/tests/test_read.pyt<module>s"

© 2025 GrazzMean