
    Owg                        d dl Zd dlZd dlmZ ej
                  j                  dej                  j                  d      j                  d dd      df ej                  d      d	fg d	fej                  gd	fd
dej                  gd	fd
d
ej                  gdfd
dej                  ej                  gdfg      d        Zd Zy)    N)Serieszdata, expected   
   i  )sizeFTfoobarc                 :    t        |       }|j                  |u sJ y N)r   	is_unique)dataexpectedsers      a/var/www/horilla/myenv/lib/python3.12/site-packages/pandas/tests/series/methods/test_is_unique.pytest_is_uniquer      s     ,C==H$$$    c           	      R    G d d      }| j                         5  t        d      D cg c]
  } ||       }}t        |t        t        d                  }d d d        j                   | j                         }t        |j                        dk(  sJ y c c}w # 1 sw Y   ExY w)Nc                       e Zd ZddZd Zy)$test_is_unique_class_ne.<locals>.FooNc                     || _         y r
   )_value)selfvals     r   __init__z-test_is_unique_class_ne.<locals>.Foo.__init__   s	    DKr   c                     t        d      )NzNEQ not supported)	Exception)r   others     r   __ne__z+test_is_unique_class_ne.<locals>.Foo.__ne__   s    /00r   )returnN)__name__
__module____qualname__r   r    r   r   Foor      s    		1r   r#      )indexr   )disabledranger   listr   
readouterrlenerr)capsysr#   ilir   captureds         r   test_is_unique_class_ner0      s    1 1 
	 /#Ah'c!f''RtE!H~./ MM  "Hx||!!! (/ /s   BB!BBB&)numpynppytestpandasr   markparametrizerandomdefault_rngintegersarangenanr   r0   r"   r   r   <module>r<      s       			q	!	*	*1bt	*	<eD	4$	T

&&4
	&
	'
	'/%%"r   