o
    Je?                     @   sl   d dl mZ d dlZddlmZ ddlmZ ddlm	Z	m
Z
 ddlmZmZmZ dd	 Zd
d Zdd ZdS )    )assert_raisesN   )all)asarray)float64int8)concatreshapestackc                   C   s    t tdd  t tdd  d S )Nc                   S   s   t dd dS )N)   r   )Zaxis)r    r   r   /home/seandotau/au.memorygallery.club/gallery/lib/python3.10/site-packages/numpy/array_api/tests/test_manipulation_functions.py<lambda>   s    z$test_concat_errors.<locals>.<lambda>c                   S   s    t tdgtdtdgtdgS )Nr   Zdtype)r   r   r   r   r   r   r   r   r      s    r   	TypeErrorr   r   r   r   test_concat_errors   s   r   c                   C   s   t tdd  d S )Nc                   S   s$   t tddgtdtddgtdgS )Nr   r   r   )r
   r   r   r   r   r   r   r   r      s    z#test_stack_errors.<locals>.<lambda>r   r   r   r   r   test_stack_errors   s   r   c                     s   t td t ddd} t j| jrJ t td t ddd} t j| js0J t tdj t ddd} tt fdd d S )Nr      )r   r   TcopyFc                      s   t  dddS )Nr   Fr   )r	   r   ar   r   r   $   s    z#test_reshape_copy.<locals>.<lambda>)	r   npZonesr	   Zshares_memoryZ_arrayTr   AttributeError)br   r   r   test_reshape_copy   s   r   )Znumpy.testingr   numpyr    r   Z_creation_functionsr   Z_dtypesr   r   Z_manipulation_functionsr   r	   r
   r   r   r   r   r   r   r   <module>   s    