Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_array.cpython-311.pyc |
�
�Ke� � �� � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlmZ ej d� � j Z G d � d
ej � � Z G d� dej � � Zd
Z G d� dej � � ZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%dZ&dZ'dZ(dZ)d Z*d!Z+d"Z,d#Z-d$Z.d%Z/ G d&� d'ej � � Z0 G d(� d)� � Z1 G d*� d+e1� � Z2 G d,� d-e2ej � � Z3 G d.� d/e1� � Z4 G d0� d1e4� � Z5 G d2� d3� � Z6 G d4� d5e5� � Z7 G d6� d7e5� � Z8 G d8� d9e7ej � � Z9 G d:� d;e8ej � � Z: G d<� d=e7ej � � Z; G d>� d?e8ej � � Z< G d@� dAe7ej � � Z= G dB� dCe8ej � � Z> G dD� dEe7ej � � Z? G dF� dGe8ej � � Z@ G dH� dIe7ej � � ZA G dJ� dKe8ej � � ZB G dL� dMe4� � ZC G dN� dOeCej � � ZD G dP� dQeCej � � ZE G dR� dSej � � ZFeGdTk r ejH � � dS dS )Uz(Test the arraymodule.
Roger E. Masse
� N)�support)�
import_helper)� os_helper)�_2G)�_array_reconstructor�uc � � e Zd ZdS )�
ArraySubclassN)�__name__�
__module__�__qualname__� � �9/usr/local/apps/python3/lib/python3.11/test/test_array.pyr
r
s � � � � � ��Dr r
c � � e Zd Zdd�ZdS )�ArraySubclassWithKwargsNc �D � t j � | � � d S �N)�array�__init__)�self�typecode�newargs r r z ArraySubclassWithKwargs.__init__ s � �
����T�"�"�"�"�"r r )r r r
r r r r r r s( � � � � � �#� #� #� #� #� #r r �
ubBhHiIlLfdqQc �` � e Zd Zd� Zd� Zej d� � � Zej d� � � Zd� Z dS )�MiscTestc �� � | � t j d� � t j j � � | � t j d� � t j j � � d S )N�B)�assertIsInstancer �collections�abc�MutableSequence�
Reversible�r s r �test_array_is_sequencezMiscTest.test_array_is_sequence"