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.117.73.46
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_property.pyo
�
?��cc@s�ddlZddlZddlmZdefd��YZdefd��YZdefd��YZd	efd
��YZde	fd��YZ
d
e
fd��YZde	fd��YZdefd��YZ
de
fd��YZde	fd��YZdejfd��YZdefd��YZdefd��YZdejfd��YZd�Zed kr�e�ndS(!i����N(trun_unittesttPropertyBasecBseZRS((t__name__t
__module__(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRstPropertyGetcBseZRS((RR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRstPropertySetcBseZRS((RR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRstPropertyDelcBseZRS((RR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRst	BaseClasscBsDeZd�Zed��Zejd��Zejd��ZRS(cCs
d|_dS(Ni(t_spam(tself((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt__init__scCs|jS(sBaseClass.getter(R(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pytspamscCs
||_dS(N(R(R	tvalue((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRscCs
|`dS(N(R(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR!s(RRR
tpropertyRtsettertdeleter(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRs	tSubClasscBsAeZejjd��Zejd��Zejd��ZRS(cCst|j��dS(sSubClass.getterN(RR(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR'scCst|j��dS(N(RR(R	R((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR,scCst|j��dS(N(RR(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR0s(RRRRtgetterRR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR%stPropertyDocBasecBs)eZdZd�Zeedd�ZRS(icCs|jS(N(R(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt	_get_spam6stdocsspam spam spam(RRRRR
R(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR4s	tPropertyDocSubcBseZejjd��ZRS(cCs|jS(s*The decorator does not use this doc string(R(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR;s(RRRRR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR:stPropertySubNewGettercBseZejjd��ZRS(cCsdS(s
new docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRAs(RRRRR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR@stPropertyNewGettercBs)eZed��Zejd��ZRS(cCsdS(soriginal docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRGscCsdS(s
new docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRKs(RRR
RR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRFst
PropertyTestscBs�eZd�Zd�Zejejjdkd�d��Z	ejejjdkd�d��Z
d�Zejejjdkd�d��ZRS(cCs�t�}|j|jd�|j|jd�d|_|j|jd�|j|jd�t|d�|jt|d��|jt|d��d|_|j|jd�|j|jd�dS(Nii
RRi(RtassertEqualRRtdelattrt
assertTruethasattr(R	tbase((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt!test_property_decorator_baseclassQs		
	cCsRt�}|jtt|d�|jtt|dd�|jtt|d�dS(NR(	RtassertRaisesRtgetattrRtsetattrtNoneRR(R	tsub((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt test_property_decorator_subclass`s	is)Docstrings are omitted with -O2 and abovecCs&t�}|j|jjjd�dS(NsSubClass.getter(RRt	__class__Rt__doc__(R	R#((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt$test_property_decorator_subclass_docgs	cCs&t�}|j|jjjd�dS(NsBaseClass.getter(RRR%RR&(R	R((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt%test_property_decorator_baseclass_docms	cCsHt�}t�}|j|jjjd�|j|jjjd�dS(Nsspam spam spam(RRRR%RR&(R	RR#((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyttest_property_decorator_docss		cCsnt�}|j|jd�|j|jjjd�t�}|j|jd�|j|jjjd�dS(Nis
new docstringi(RRRR%R&R(R	tnewgettersubt	newgetter((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt!test_property_getter_doc_overrideys		(
RRRR$tunittesttskipIftsystflagstoptimizeR'R(R)R,(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRPs			tPropertySubcBseZdZRS(sThis is a subclass of property(RRR&(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR2�stPropertySubSlotscBseZdZdZRS(s5This is a subclass of property that defines __slots__((RRR&t	__slots__(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR3�stPropertySubclassTestscBs�eZd�Zejejjdkd�d��Zejejjdkd�d��Z	ejejjdkd�d��Z
RS(cCs>ydtfd��Y}Wntk
r-n
Xtd��dS(NtFoocBseZed��ZRS(cSsdS(s5Trying to copy this docstring will raise an exceptioni((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRR3R(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR6�ssAttributeError not raised(tobjecttAttributeErrort	Exception(R	R6((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt#test_slots_docstring_copy_exception�s

is)Docstrings are omitted with -O2 and abovecCs0dtfd��Y}|j|jjd�dS(NR6cBseZed��ZRS(cSsdS(s!spam wrapped in property subclassi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRR2R(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR6�ss!spam wrapped in property subclass(R7RRR&(R	R6((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyttest_docstring_copy�s	cs�dtfd��Y���}|j|jd�d|_|j|jd�|j�jjd�d�f�fd��Y}|�}|j|jd�d|_|j|jd	�|j|jjd�dS(
NR6cBs2eZd�Zed��Zejd��ZRS(cSs
d|_dS(Ni(R(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR
�tcSs|jS(s!spam wrapped in property subclass(R(R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�scSs
||_dS(sthis docstring is ignoredN(R(R	R((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRR
R2RR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR6�s	iis!spam wrapped in property subclasstFooSubcseZ�jjd��ZRS(cSs
d|_dS(sanother ignored docstringteggsN(R(R	R((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRRR((R6(s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR=�siR>(R7RRR&(R	tfooR=tfoosub((R6s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt,test_property_setter_copies_getter_docstring�s 
						csxdtfd��Y}|j|jjd�dtfd��Y�d�f�fd��Y}|j|jjd�dS(NR6cBs)eZed��Zejd��ZRS(cSsdS(sa docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�scSsdS(sa new docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRR2RR(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR6�ssa new docstringtFooBasecBseZed��ZRS(cSsdS(sa docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRR2R(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRB�stFoo2cseZ�jjd��ZRS(cSsdS(sa new docstringi((R	((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR�s(RRRR((RB(s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyRC�s(R7RRR&(R	R6RC((RBs9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt&test_property_new_getter_new_docstring�s
	(RRR:R-R.R/R0R1R;RARD(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyR5�s	 cCsttt�dS(N(RRR5(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt	test_main�st__main__(R/R-ttest.test_supportRR9RRRRR7RRRRRRtTestCaseRR
R2R3R5RER(((s9/usr/local/python-2.7/lib/python2.7/test/test_property.pyt<module>s&
5W	
© 2025 GrazzMean