3
���h� �
@ s� d Z ddlZddlZddlZddljZddl m
Z
ddlmZ ej
ejddged�ejddged�ejddged�ejddDged�ejd
dged�ejddgdd�ejddgd
d�gd�dd� �ZejjddEdFdGdHdIdJdKdLdMdNg
�dd� �ZejjddOdPdQdRdSdTdUdVdWdXg
�dd� �Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Z d/d0� Z!d1d2� Z"d3d4� Z#d5d6� Z$d7d8� Z%d9d:� Z&d;d<� Z'ejjd=deg�d>d?� �Z(d@dA� Z)dBdC� Z*dS )YzN
Additional tests for PandasArray that aren't covered by
the interface tests.
� N)�PandasArray)�PandasDtype�a�b)�dtype� y @TF�datetime64[ns]ztimedelta64[ns])�paramsc C s | j S )zk
Parametrized fixture for NumPy arrays with different dtypes.
This excludes string and bytes.
)�param)�request� r �@/tmp/pip-build-5_djhm0z/pandas/pandas/tests/arrays/test_numpy.py�any_numpy_array s r zdtype, expected�bool�int�uint�float�complex�str�bytes�object�voidc C s t | �} | j|kst�d S )N)r Z_is_numeric�AssertionError)r �expectedr r r
�test_is_numeric& |