3
Ud                 @   s2   d dl Zd dlmZ d dljZdd Zdd ZdS )    N)Seriesc              C   s   t tjjdttdddd} x8tt| D ](}| j| }| | j|  }t	j
|| q.W | jtdd }| jdd }t	j|| d|d d < | dd dkj st| jddddd	g }| j| jddddd	g }t	j|| d S )
N
   r         )index            )r   nprandomZrandnlistrangelenilocr   tmZassert_almost_equalslicelocZassert_series_equalallAssertionErrorZreindex)siresultexpexpected r   Z/var/www/html/virt/lib64/python3.6/site-packages/pandas/tests/series/indexing/test_iloc.py	test_iloc   s     
r   c              C   s.   t dddgdddgd} | jd dks*td S )Nr   r   r   )r   )r   r   r   )r   r   r   r   test_iloc_nonunique   s    r   )	Znumpyr   Zpandasr   Zpandas._testingZ_testingr   r   r   r   r   r   r   <module>   s   
