+
    xȇi                     V    ^ RI t^ RIHt ^ RIHt ^ RIHt R t	R t
R tR tR tR	 tR# )
    N)	DataFrame)	get_arrayc                     \        R . RO/4      p V P                  4       p\        V R 4      pV R,          pV P                  ^RR7       \        P
                  ! \        V R 4      V4      '       d   Q hV P                  P                  ^ 4      '       g   Q hVP                  P                  ^ 4      '       g   Q h\        P                  ! W4       R# a:NNNTlowerinplaceNg      ?      
r   copyr   clipnpshares_memory_mgr_has_no_referencetmassert_frame_equaldfdf_copyarr_aviews       p/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/copy_view/test_clip.pytest_clip_inplace_referencer      s    	C%	&BggiGb#Ea5DGG!TG"	"c 2E::::77$$Q''''99&&q))))'(    c                     \        R . RO/4      p V P                  4       p\        V R 4      pV R,          pV P                  ^ RR7       \        P
                  ! \        V R 4      V4      '       g   Q hV P                  P                  ^ 4      '       d   Q hVP                  P                  ^ 4      '       d   Q h\        P                  ! W4       R# r   r   r   s       r   !test_clip_inplace_reference_no_opr       s    	C%	&BggiGb#Ea5DGG!TG"Ib#.6666ww((++++yy**1----'(r   c                      \        R . RO/4      p \        V R 4      pV P                  ^RR7       \        P                  ! \        V R 4      V4      '       g   Q hV P
                  P                  ^ 4      '       g   Q hR# )r   Tr   Nr   )r   r   r   r   r   r   r   )r   r   s     r   test_clip_inplacer"   #   sh    	C%	&Bb#EGG!TG"Ib#.666677$$Q''''r   c                  @   \        R . RO/4      p V P                  4       pV P                  ^R7      p\        P                  ! \        VR 4      \        V R 4      4      '       d   Q hV P                  P                  ^ 4      '       g   Q h\        P                  ! W4       R# r   )r	   Nr   )
r   r   r   r   r   r   r   r   r   r   )r   df_origdf2s      r   	test_clipr'   ,   s|    	C%	&BggiG
'''
C	#s 3Yr35GHHHH77$$Q'''''&r   c                      \        R . RO/4      p V P                  ^ R7      pV P                  P                  ^ 4      '       d   Q h\        P
                  ! \        VR 4      \        V R 4      4      '       g   Q hR# r$   )r   r   r   r   r   r   r   )r   r&   s     r   test_clip_no_opr)   7   sc    	C%	&B
'''
Cww((++++Ic3/2s1CDDDDr   c                     \        R . ROR^/4      p V P                  4       p\        P                  ! 4       ;_uu_ 4        V R ,          P	                  ^^RR7       RRR4       \        P
                  ! W4       \        P                  ! 4       ;_uu_ 4        V R .,          P	                  ^^RR7       RRR4       \        P
                  ! W4       R#   + '       g   i     L; i  + '       g   i     L;; i)r   bT)r
   N)      r   )r   r   r   raises_chained_assignment_errorr   r   )r   r%   s     r   test_clip_chained_inplacer/   ?   s    	CC+	,BggiG		+	+	-	-
3Q4( 
."&		+	+	-	-
C5	q!T* 
."& 
.	- 
.	-s   CC&C#	&C6	)numpyr   pandasr   pandas._testing_testingr   pandas.tests.copy_view.utilr   r   r    r"   r'   r)   r/    r   r   <module>r6      s0       1
))('E	'r   