U
    sVc(                     @   sH   d dl Z d dlZd dlZd dlmZ d dlmZm	Z	 dd Z
dd ZdS )    N)comparison_opna_logical_opc               	   C   sn   t ddd} | t}t j|d< tjtdd t	
| | W 5 Q R X t| |t	j
}|}t|| d S )N         )r   r   zunsupported operand type)match)nparangereshapeastypeobjectnanpytestZraises	TypeErroroperatoror_r   tmassert_numpy_array_equalleftrightresultexpected r   J/tmp/pip-unpacked-wheel-xj8nt62q/pandas/tests/arithmetic/test_array_ops.pytest_na_logical_op_2d   s    

r   c                  C   sp   t dddt} | j}t| |tj}t 	dt
}t|| d|j_t| |tj}t||  d S )N	      F)r   r	   r
   r   r   Tr   r   eqZeyeboolr   r   flagsZ	writeablener   r   r   r   test_object_comparison_2d   s    r#   )r   Znumpyr   r   Zpandas._testingZ_testingr   Zpandas.core.ops.array_opsr   r   r   r#   r   r   r   r   <module>   s   