z*:zN ` d Z ddlZddlZddlmZmZ G d d Z G d deej Z G d d e Z G d de e Z G d d ej e Z G d de Z G d d Z G d dej e Z G d d Z G d d ZdS )z! Test printing of scalar types. N)assert_ assert_raisesc e Zd ZdS )AN__name__ __module____qualname__ w/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/core/tests/test_scalarinherit.pyr r Dr r c e Zd ZdS )BNr r r r r r r r r c e Zd ZdS )CNr r r r r r r r r c e Zd ZdS )DNr r r r r r r r r c e Zd ZdS )B0Nr r r r r r r r r c e Zd ZdS )C0Nr r r r r r r r r c e Zd Zd ZdS )HasNewc | ||fS )Nr )clsargskwargss r __new__zHasNew.__new__ s D& r N)r r r r r r r r r s# ! ! ! ! !r r c e Zd ZdS )B1Nr r r r r! r! r r r! c e Zd Zd Zd Zd ZdS )TestInheritc t d }t t | dk t d }t t | dk t d }t t | dk d S )N ?1.0 @2.0g @z3.0)r r strr r )selfxyzs r test_initzTestInherit.test_init" sq cFFA% cFFA% cFFA% r c t d }t t | dk t d }t t | dk d S )Nr% r&