
    Ph                     @    d dl mZ d dlZd dlZd dlmZ  G d d      Zy)    )assert_N)sctypesc                   *    e Zd Zd Zd Zd Zd Zd Zy)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                               y )N)r   
issubclassnpnumbernumbersNumberinexactComplexcomplexfloatingfloatingRealintegerIntegralsignedintegerunsignedinteger)selfs    dC:\Users\daisl\Desktop\realtime-object-detection\venv\Lib\site-packages\numpy/core/tests/test_abc.pytest_abstractzTestABC.test_abstract	   s    
299gnn56
2::w78
2--w?@
2;;56
2::w'7'789
2++W-=-=>?
2--w/?/?@A    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        y )Nfloatz is not instance of Realz is not subclass of Realz is instance of Rationalz is subclass of Rational)r   r   
isinstancer   r   __name__r   Rationalr   ts     r   test_floatszTestABC.test_floats   s    !AJqsGLL1zzl":;=Jq',,/zzl":;=
13(8(899zzl":;=
1g&6&677zzl":;= "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        y )Ncomplexz 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_complexzTestABC.test_complex   s    #AJqsGOO4zzl"=>@Jq'//2zzl"=>@
1355zzl"679
1gll33zzl"679 $r   c                     t         d   D ]i  }t        t         |       t        j                        |j
                   d       t        t        |t        j                        |j
                   d       k y )Nint is not instance of Integral is not subclass of Integralr   r   r   r   r   r   r   r   s     r   test_intzTestABC.test_int*   s`    AJqsG$4$45zzl">?AJq'"2"23zzl">?A  r   c                     t         d   D ]i  }t        t         |       t        j                        |j
                   d       t        t        |t        j                        |j
                   d       k y )Nuintr'   r(   r)   r   s     r   	test_uintzTestABC.test_uint1   s`    AJqsG$4$45zzl">?AJq'"2"23zzl">?A !r   N)r   
__module____qualname__r   r!   r$   r*   r-    r   r   r   r      s    	B	=	9AAr   r   )numpy.testingr   r   numpyr	   numpy.core.numerictypesr   r   r0   r   r   <module>r4      s    !   +.A .Ar   