Current File : //opt/imh-python/lib/python2.7/test/test_unary.pyc
�
��Wc@sddZddlZddlmZmZdejfd��YZd�Zedkr`e�ndS(sFTest compiler changes for unary ops (+, -, ~) introduced in Python 2.2i����N(trun_unittestthave_unicodetUnaryOpTestCasecBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCsv|jdd
k�|jddk�|jddk�|jddk�|jdd
k�|jddk�dS(Ni����iil����lg�g@y�y@i����il����g�y�(t
assertTrue(tself((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyt
test_negativescCs}|jd
dk�|jd
dk�|jd

dk�|jd
dk�|jd
dk�|jd
dk�dS(Niilg@y@(R(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyt
test_positivescCsP|jddk�|jddk�|jddk�|jddk�dS(	Ni����iil����li����il����(R(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyttest_invertscCs�dd}|jtd|�td|d�k�|jtd|�td|d�k�|jtd|�td|d�k�dS(Nt9i t+tLt-t~(Rteval(Rtnines((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyttest_no_overflows
++cCsD|jd	d�|jd
d�|jdd�|jd
d�dS(Niii����i����ii�iii����i����ii�i(tassertEqual(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyttest_negation_of_exponentiation$scCsrxEdD]=}|jtt|d�tr|jtt|d�qqW|jttd�|jttd�dS(	NR	RRs'a'su'a's~2js~2.0(R	RR(tassertRaisest	TypeErrorR
R(Rtop((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyttest_bad_types,s
(t__name__t
__module__RRRRRR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyRs					cCstt�dS(N(RR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyt	test_main6st__main__(	t__doc__tunittestttest.test_supportRRtTestCaseRRR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_unary.pyt<module>s0