Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
numpy
/
lib
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
test_index_tricks.cpython-311.pyc
� � h O � �P � d dl Z d dlZd dlmZmZmZmZmZm Z m Z d dlmZm Z mZmZmZmZmZmZmZmZmZ G d� d� � Z G d� d� � Z G d� d � � Z G d � d� � Z G d� d � � Z G d� d� � Zd� Z G d� d� � Zd� Z G d� d� � Z d� Z!dS )� N)�assert_�assert_equal�assert_array_equal�assert_almost_equal�assert_array_almost_equal� assert_raises�assert_raises_regex)�mgrid�ogrid�ndenumerate� fill_diagonal�diag_indices�diag_indices_from� index_exp�ndindex�r_�s_�ix_c � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z e j � dg d �� � d � � � Z d� ZdS ) �TestRavelUnravelIndexc � � t t j dd� � d� � t t j dd�� � d� � t t � � 5 t j dd�� � d d d � � n# 1 swxY w Y t t � � 5 t j dd�� � d d d � � n# 1 swxY w Y t t � � 5 t j dd� � � d d d � � n# 1 swxY w Y t t � � 5 t j dd� � � d d d � � n# 1 swxY w Y t t j dd� � d� � t t j dd� � d� � t t j dd� � d� � t t t j dd� � t t t j d d� � t t t j dd� � t t t j dd� � t t t j dd� � t t t j dd� � t t t j dd� � t t t j dd� � t t j dd� � g d�� � t t j g d�d� � d� � t j g d�g d�g� � }t t j |d� � g d�� � t t j |dd�� � g d�� � t t j |dd� � � g d!�� � t t j |d"d#� � � g d$�� � t t j d%d&� � d'� � t t j t j g d�� � d� � g d�g d�g� � t t j t j g d�� � dd�� � g d�g d�g� � t t j d'd&� � g d%�� � d S )(N� )r r �� r )�indices�shape)r �hape)r � )� �^ )�ims)�dims)r �B ���g �?� )���r )r r )r r&