Current File : //opt/imh-python/lib/python2.7/test/test_fractions.pyc
�
��Wc@ssdZddlmZddlmZddlZddlZddlZddlZddl	Z	ddl
Z
ddlmZmZddl
mZmZejZejZe
jejd�jd�d	�Zd
efd��YZdefd
��YZdejfd��YZde
jfd��YZd�Zde
jfd��YZd�Z e!dkroe �ndS(sTests for Lib/fractions.py.i����(tDecimal(trun_unittestN(tcopytdeepcopy(tdumpstloadstdoubletIEEEstest requires IEEE 754 doublest
DummyFloatcBskeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZeZd
ZRS(s8Dummy float class for testing comparisons with FractionscCs+t|t�std��n||_dS(Ns-DummyFloat can only be initialized from float(t
isinstancetfloatt	TypeErrortvalue(tselfR((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__init__scCsUt|tj�r+|tj|j�|�St|t�rM||j|j�StSdS(N(R	tnumberstRationaltFt
from_floatRRtNotImplemented(R
tothertop((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt_richcmps
cCs|j|tj�S(N(Rtoperatorteq(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__eq__%scCs|j|tj�S(N(RRtle(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__le__&scCs|j|tj�S(N(RRtlt(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__lt__'scCs|j|tj�S(N(RRtge(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__ge__(scCs|j|tj�S(N(RRtgt(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__gt__)scCststd��dS(Ns/__float__ should not be invoked for comparisons(tFalsetAssertionError(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt	__float__,scCststd��dS(Ns-__sub__ should not be invoked for comparisons(R"R#(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt__sub__0sN(t__name__t
__module__t__doc__RRRRRRR!R$R%t__rsub__tNonet__hash__(((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyRs									t
DummyRationalcBsSeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	dZRS(	sATest comparison of Fraction with a naive rational implementation.cCs-t||�}|||_|||_dS(N(tgcdtnumtden(R
R.R/tg((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR;s
cCs<t|tj�r4|j|jko3|j|jkStSdS(N(R	t	fractionstFractionR.t
_numeratorR/t_denominatorR(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR@scCs|j|j|j|jkS(N(R.R4R/R3(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyRGscCs|j|j|j|jkS(N(R.R4R/R3(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR!JscCs|j|j|j|jkS(N(R.R4R/R3(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyRMscCs|j|j|j|jkS(N(R.R4R/R3(R
R((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyRPscCststd��dS(Ns__float__ should not be invoked(R"R#(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR$UsN(R&R'R(RRRR!RRR$R*R+(((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR,8s							t
DummyFractioncBseZdZRS(s6Dummy Fraction subclass for copy and deepcopy testing.(R&R'R((((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR5\stGcdTestcBseZd�ZRS(cCs�|jdtdd��|jdtdd��|jdtdd��|jdtdd��|jdtdd��|jdtdd��|jdtdd��|jdtdd��|jdtdd	��|jd
td	d��dS(Niii����ii��iiixiTi�i����(tassertEqualR-(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestMiscas(R&R'R8(((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR6_scCs|j|jfS(N(t	numeratortdenominator(tr((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt_componentsnstFractionTestcBs
eZd�Zd�Zd�Zed��Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs0|jt|�t|��|j||�dS(s4Asserts that both the types and values are the same.N(R7ttype(R
texpectedtactual((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pytassertTypedEqualstscOsUy|||�Wn)|k
r<}|j|t|��nX|jd|j�dS(s@Asserts that callable(*args, **kwargs) raises exc_type(message).s
%s not raisedN(R7tstrtfailR&(R
texc_typetmessagetcallabletargstkwargste((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pytassertRaisesMessageys
cCs|jdtt���|jdttd���|jdtttdd����|jd ttdd���|jd!ttdd���|jd"ttdd���|jd#ttdd	���|jd$ttdd
���|jd&ttd'���|jd(tttdd�d
���|jd)ttdtdd����|jd*tttdd�tdd����|jtdtdd�|jttd+�|jttdd�|jttdd�|jttdd�dS(,Niiiii����i����iii
iiiMii����i����i	i�	i�	iiciqsFraction(12, 0)ig�?y@s3/2yy�?(ii(ii(ii(i����i(i����i(ii(ii(iilm+?�R(lm+?�Rilm+?�R(iiM(i����i(i�	i�	y�?@(R7R<RRJtZeroDivisionErrortassertRaisesR(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestInit�s$%((1
cCs�|jd
ttd���|jdttd���|jdttd	���|jtttd
��|jtttd��|jtttd��dS(Niig@iig�I������I�g�������?tnantinfs-inf(ii(ii(I������I�(R7R<RRLRR
(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestInitFromFloat�s	cCs�|jdtttd����|jdtttd����|jdtttd	����|jtttd
��|jtttd��|jtttd��|jtttd
��dS(Nii
s1.1ii�s3.5e-2iis.000e20RNtsnanROs-inf(ii
(ii�(ii(R7R<RRRLR(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestInitFromDecimal�s			cCs�|jd0ttd���|jd1ttd���|jd2ttd���|jd3ttd	���|jd4ttd���|jd5ttd���|jd6ttd���|jd7ttd���|jd8ttd���|jd9ttd���|jd:ttd���|jd;ttd���|jd<ttd���|jd=ttd���|jd>ttd���|jtdtd�|jtdtd�|jtd td!�|jtd"td#�|jtd$td%�|jtd&td'�|jtd(td)�|jtd*td+�|jtd,td-�|jtd.td/�dS(?Niit5iis3/2s 
  +3/2i����s-3/2  i
s    013/02 
  u    013/02 
  is 3.2 i�u -3.2 u -3. u .6 i5s32.e-5i@Bs1E+06i���s-1.23e4is .0e+0	s-0.000e0sFraction(3, 0)s3/0s"Invalid literal for Fraction: '3/'s3/s"Invalid literal for Fraction: '/2's/2s$Invalid literal for Fraction: '3 /2's3 /2s$Invalid literal for Fraction: '3/+2's3/+2s%Invalid literal for Fraction: '+ 3/2's+ 3/2s#Invalid literal for Fraction: '3a2't3a2s%Invalid literal for Fraction: '3/7.2's3/7.2s%Invalid literal for Fraction: '3.2/7's3.2/7s!Invalid literal for Fraction: '.'t.(ii(ii(ii(i����i(i
i(i
i(ii(i�i(i����i(ii(ii5(i@Bi(i���i(ii(ii(R7R<RRJRKt
ValueError(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestFromString�sZ








cCs�tdd�}|jdd�|jd
t|��|jtt|dd�|jtt|dd�|jdt|��d	|_d|_|jdt|��|j	td	d�|�dS(
NiiiiR9iR:ii(ii(ii(ii(
RRR7R<RLtAttributeErrortsetattrR3R4tassertNotEqual(R
R;((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt
testImmutable�s		cCs�|jttjd�|jdttjd���d}|j|dfttj|���|jdttjd���|jdttjd���|jdttjd���|jdttjd
���|jtd�ttjd
���|jdttjd���|jdttjd���d}||}|jtdtj|�|jtdtj|�|jtdtj|�dS(Niy@i
iI��}�"ig�g$@i����ig�ll+?�Rg�J��-�DiI������Ig������	@g�sCannot convert inf to Fraction.s Cannot convert -inf to Fraction.sCannot convert nan to Fraction.y@@(i
i(ii(i
i(i����i(ll+?�Rilm+?�R(I������I(RLRRRR7R<R
RJ(R
tbigintRORN((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt
testFromFloat�s0%	%	

cCs�|jttjd�|jtdd�tjd��|jtd�tjtd���|jtdd�tjtd���|jtdd	�tjtd
���|jtd�tjtd���|jdtdd�tjtddd
���|jtdtjtd��|jtdtjtd��|jtdtjtd��|jtdtjtd��dS(Niy@i
iis-0is0.5i�s5e-3i�t5e3is0.t9s$Cannot convert Infinity to Fraction.ROs%Cannot convert -Infinity to Fraction.s-infsCannot convert NaN to Fraction.RNs Cannot convert sNaN to Fraction.RQy@@l�7�3M�e'(RLRRtfrom_decimalR7RRJ(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestFromDecimals("%((%cCsAtd�}|j|jd�tdd��|j|jd�tdd��|j|jd�tdd��|j|jd�tdd��|jtd	d
�jd�td��|jtd	d
�jd
�tdd
��|jtd�jd�td��x-dD]%}|jtdtd�j|�qWdS(Ns3.1415926535897932i'iciqi����ipiMiji�i�idiieifii����s$max_denominator should be at least 1(ii����(RR7tlimit_denominatorRJRV(R
trpiti((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestLimitDenominator+s"#""(+%
cCsC|jdtjtdd���|jdttdd���|jdtjtdd���|jtttdd���|jtttdd���|jd	t	tdd���|j
tt	td
dd��|j
d
dt	ttd
dd�tddd����|jdttdd���dS(Ni����i����i
iiiiig�������?t2i�t7g@t3t1yy�������?(RAtmathttruncRtintR7R"tbooltTrueR
RLt
OverflowErrortlongtassertAlmostEqualtcomplex(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestConversions9s""!
2cCs�|jtdd�tdd�tdd��|jtdd�tdd�tdd��|jtdd�tdd�tdd��|jtdd�tdd�tdd��|jdtdd�tdd��|jdtdd�td��|jtdd
�tdd
�td
d��|jtdd
�tdd
�td
��|jtd
d�tdd
�td��|jdtd�tdd��|jtdd�tdd�
�|jtttd�tdd��dS(Niii
ii����iii	iii����iig@i����lm+?�Rlm+?�R(R7RRARLRVtpow(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestArithmeticJs////&#/,,##cCsZ|jtdd�tdd�d�|jdtdd�d�|jdtdd�d�|jtdd�dtdd��|jddtdd��|jddtdd��|jtdd�tdd�d�|jdtdd�d�|jdtdd�d�|jtd	d�dtdd��|jd
dtdd��|jddtdd��|jtdd�tdd�d�|jdtdd�d�|jd tdd�d!�|jtdd�dtdd��|jddtdd��|jd"d#tdd��|jtdd�tdd�d�|jdtdd�d�|jd$tdd�d%�|jtdd�dtdd��|jddtdd��|jd&d'tdd��|jd
tdd�d�|jdtdd�d�|jddtdd��|jd(d)tdd��|jddtdd��|jtdd�tdd�d�|jdtdd�d�|jtd
d�dtdd��|jddtdd��|jtdd�tdd�d�|jtdd�tdd�d�|jdtdd�d�|jd*tdd�d+�|jddtdd��|jttdtdd��|jtdd�dtdd��|jddtdd��|jddtdd��|jd,d-tdd��dS(.Nii
ig�������?g�?yi����g�������i	g�������?g�������?g$@igiiidi����iii����g@g�?y�������?y�?y�������?y�?y�������y�?y�������?y�?y�������?y�?y�������?y�?y�������?y�?y$@y�?lm+?�Rl�d�&O�!y�������?y�?y�?y�?(RARRLRVRt(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestMixedArithmeticYsV&&&&&&&&&&&&&cCsy|jtdtjtdd�td��|jtdtjtd�tdd��|jtdd�td��dS(	Ns;unsupported operand type(s) for +: 'Fraction' and 'Decimal'iis	3.1415926s;unsupported operand type(s) for +: 'Decimal' and 'Fraction'iis2.5(RJRRtaddRRRZ(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestMixingWithDecimal�scCsQ|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�dS(Niii(t
assertTrueRtassertFalse(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestComparisons�s%%%%%%%%cCs|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�|jtdd�tdd�k�dS(Niiiii(RyRR,Rz(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestComparisonsDummyRational�s8%%%%%%%%%%%%%%%%%%%%%%%%%%%cCs�tdd�}tdd�}|j||k�|j||kpM||k�|j||k�|j||ko||k�|j||k�|j||kp�||k�|j||k�|j||ko�||k�dS(Ng�?g@ii(RRRyRz(R
txty((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestComparisonsDummyFloat�scCs�|jdtdd�k�|jdtdd�k�|jtdd�dk�|jtdd�dk�|jtdd�dk�|jtdd�dk�|jdtdd�k�|jdtdd�k�|jtd	�tdd�k�|jtd
�tdd�k�|jtd
�tdd�k�|jtdd�td	�k�|jtdd�td
�k�|jtdd�td
�k�dS(Niiiiig333333�?g�������?g�?ROs-infii
RNi����iiii�i����(RyRRzR
(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt
testMixedLess�s"""""cCs�|jdtdd�k�|jdtdd�k�|jtdd�dk�|jtdd�dk�|jdtdd�k�|jdtdd�k�|jtdd�dk�|jtdd�dk�|jtd	�tdd�k�|jtd
�tdd�k�|jtd
�tdd�k�|jtdd�td	�k�|jtdd�td
�k�|jtdd�td
�k�dS(Ng�?iig333333�?g�������?iiiROs-infii
RNi����iiii�i����(RyRRzR
(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestMixedLessEqual�s"""""cCs�|jtd�td�k�|jdtttjd�d��k�|jdttjd�d�k�|jdttjd�d�k�|jdttjd�d�k�|jdttjd�d�k�dS(Ni
ig�J��-�Dilm+?�Rlm+?�R(RzRR
RjRkRy(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestBigFloatComparisons�s,&&&cCsg|jtd�td	�k�|jttjtd
�td��|jttjtd�td
��tdd�}tdd�}tdd�}|j||k�|j||k�|j||k�|j||k�x~tj	tjtjtj
fD]^}|jt|||�|jt|||�|jt|||�|jt|||�qWdS(Ni
iiig�?gg�������?lm+?�Rlm+?�Rlm+?�Rlm+?�Rlm+?�Rlm+?�R(RzRRrRLRRR RRyRR(R
R}tztwR((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestBigComplexComparisonss%%%cCsl|jdtdd�k�|jdtdd�k�|jtdd�dk�|jtdd�dk�|jdtdd�k�|jdtdd�k�|jtdd�dk�|jtdd�dk�|jtdd�td	�k�|jtd	�tdd
�k�|jtdd�td�k�|jtd�tdd�k�dS(
Ng�?iig333333�?g�������?iiiRNiROs-inf(RyRRzR
(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestMixedEquals"""cCs�|jdttdd���|jdttd���|jdttdd
���|jd
ttdd���|jdttdd���dS(NsFraction(7, 3)iis Fraction(6283185307, 2000000000)s3.1415926535s#Fraction(-1, 100000000000000000000)ii
is7/3Rgl F�x:^Vl���� F�x:^V(R7treprRRB(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestStringification s		cCss|jtd�ttdd���|jtd�ttd���|jttd	��ttd
���dS(Ng@iii
i2il +�O��tC3�y+v�l +�O��tC3�y+v�lm+?�Rlm+?�R(R7thashRRZR
(R
((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestHash)s%"c	Cs�td�}d|dddddf\}}}}}}}xkt||�tdd	�kr�|}|||d}}|||d}}|||}||7}q?W|jtj|�dS(
Niiiii
i	ii iʚ;(RtabsRqRjtpi(	R
tthreetlaststttstntnatdtda((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestApproximatePi.s0"cCs�td�}ddtd�dddf\}}}}}}xot||�tdd�kr�|}|d7}|||d9}|||9}|d9}||||7}q?W|jtjd�|�dS(Niii
i	ii����iʚ;(RR�RqRjtcos(R
R}RdR�R�tfactR.tsign((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttestApproximateCos1;s0"

cCs�tdd�}tdd�}|j|tt|���|jt|�tt|���|jt|�tt|���|jt|�tt|���|jt|�tt|���|j	|t|��|j	|t|��dS(Ni
i(
RR5R7RRtidRRRZRA(R
R;tdr((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyttest_copy_deepcopy_pickleIs""""cCs,tdd�}|jtt|dd�dS(Ni
itai
(RRLRXRY(R
R;((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt
test_slotsTs(R&R'RARJRMtrequires_IEEE_754RPRRRWR[R]RaReRsRuRvRxR{R|RR�R�R�R�R�R�R�R�R�R�R�(((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyR=rs8		
	
		8							7			 				
						
		cCsttt�dS(N(RR=R6(((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt	test_mainYst__main__("R(tdecimalRttest.test_supportRRjRRR1tsystunittestRRtcPickleRRR2RR-t
skipUnlessR
t
__getformat__t
startswithR�tobjectRR,R5tTestCaseR6R<R=R�R&(((sl/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_fractions.pyt<module>s2			#$	��