HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/test/test_abstract_numbers.pyo
�
N��ac@s�dZddlZddlZddlmZmZmZmZddlm	Z	dej
fd��YZd�Ze
dkr�ej�ndS(	sUnit tests for numbers.py.i����N(tComplextRealtRationaltIntegral(ttest_supporttTestNumberscBs,eZd�Zd�Zd�Zd�ZRS(cCs�|jttt��|jttt��|jdtd�j�|jdtd�j�|jdtd�j��|jdtd�j	�|jdtd�j
�dS(Niii(t
assertTruet
issubclasstintRRtassertEqualtrealtimagt	conjugatet	numeratortdenominator(tself((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyttest_int	scCs�|jttt��|jttt��|jdtd�j�|jdtd�j�|jdtd�j��|jdtd�j	�|jdtd�j
�dS(Niii(RRtlongRRR	R
RRR
R(R((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyt	test_longscCs~|jttt��|jttt��|jdtd�j�|jdtd�j�|jdtd�j	��dS(Ng333333@i(
tassertFalseRtfloatRRRR	R
RR(R((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyt
test_floats
cCs�|jttt��|jttt��tdd�tdd�}}|jttj	|�|jt
t|�|jt
t|�dS(Niiii(
RRtcomplexRRRtassertRaisestAttributeErrortmathttrunct	TypeErrorRR(Rtc1tc2((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyttest_complex%s(t__name__t
__module__RRRR(((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyRs	
	
	cCstjt�dS(N(Rtrun_unittestR(((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyt	test_main/st__main__(t__doc__RtunittesttnumbersRRRRttestRtTestCaseRR"Rtmain(((s6/usr/local/lib/python2.7/test/test_abstract_numbers.pyt<module>s"'