/ܻd| H d dl mZ d dlZd dlZd dlmZ G d d ZdS ) )assert_N)sctypesc , e Zd Zd Zd Zd Zd Zd ZdS )TestABCc t t t j t j t t t j t j t t t j t j t t t j t j
t t t j t j t t t j
t j t t t j t j d S )N)r
issubclassnpnumbernumbersNumberinexactComplexcomplexfloatingfloatingRealintegerIntegral
signedintegerunsignedinteger)selfs m/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/core/tests/test_abc.py
test_abstractzTestABC.test_abstract s
29gn55666
2:w77888
2-w??@@@
2;55666
2:w'788999
2+W-=>>???
2-w/?@@AAAAA c t d D ]}t t | t j |j d t t
|t j |j d t t | t j |j d t t
|t j |j d d S )Nfloatz is not instance of Realz is not subclass of Realz is instance of Rationalz is subclass of Rational)r r
isinstancer r __name__r Rationalr ts r test_floatszTestABC.test_floats s ! = =AJqqssGL11z;;;
=
=
=Jq',//z;;;
=
=
=
1133(8999z;;;
=
=
=
1g&6777z;;;
=
=
=
= = =r c t d D ]}t t | t j |j d t t
|t j |j d t t | t j |j d t t
|t j |j d d S )Ncomplexz is not instance of Complexz is not subclass of Complexz is instance of Realz is subclass of Real)r r r r r r r r r s r test_complexzTestABC.test_complex s # 9 9AJqqssGO44z>>>
@
@
@Jq'/22z>>>
@
@
@
1133555z777
9
9
9
1gl333z777
9
9
9
9 9 9r c t d D ]j}t t | t j |j d t t
|t j |j d kd S )Nint is not instance of Integral is not subclass of Integralr r r r r r r r s r test_intzTestABC.test_int* s A AAJqqssG$455z???
A
A
AJq'"233z???
A
A
A
A A Ar c t d D ]j}t t | t j |j d t t
|t j |j d kd S )Nuintr' r( r) r s r test_uintzTestABC.test_uint1 s A AAJqqssG$455z???
A
A
AJq'"233z???
A
A
A
A A Ar N)r
__module____qualname__r r! r$ r* r- r r r r sj B B B = = = 9 9 9A A AA A A A Ar r )
numpy.testingr r numpyr numpy.core.numerictypesr r r0 r r