+
    yȇi	                     R    ^ RI t^ RIt^ RIHtHt ^ RIHt ^ RI	H
t
  ! R R4      tR# )    N)Index
date_rangecartesian_productc                     a  ] tR t^t o R tR t]P                  P                  R. . .^ ^.. .. . RO..4      R 4       t	R t
]P                  P                  R^^.^^.^.^.RR.RR.R.R..4      R	 4       tR
 tRtV tR# )TestCartesianProductc                    \        R 4      ^^.r!\        W.4      w  r4\        P                  ! . RO4      p\        P                  ! . RO4      p\        P
                  ! W54       \        P
                  ! WF4       R# )ABCN)Ar   Br   Cr   )      r   r   r   r   )listr   nparraytmassert_numpy_array_equal)selfxyresult1result2	expected1	expected2s   &      t/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/indexes/multi/test_util.pytest_simple TestCartesianProduct.test_simple   sZ    E{QG1,aV4HH;<	HH23	
##G7
##G7    c                   \        R ^R7      pR \        W.4       4       w  r#\        . RO\        P                  R7      p\        . RO\        P                  R7      p\
        P                  ! W$4       \
        P                  ! W54       R# )z
2000-01-01)periodsc              3   L   "   T F  p\        V4      P                  x  K  	  R # 5iN)r   day).0r   s   & r   	<genexpr>:TestCartesianProduct.test_datetimeindex.<locals>.<genexpr>   s     L2KQE!HLL2Ks   "$dtypeN)r   r      r*   )r   r*   r   r*   )r   r   r   r   int32r   assert_index_equal)r   r   r   r   r   r   s   &     r   test_datetimeindex'TestCartesianProduct.test_datetimeindex   sa     |Q/L2CQF2KL,bhh7	,bhh7	
g1
g1r   zx, yabc                R   \         P                  ! . \         P                  ! V4      P                  R 7      p\         P                  ! . \         P                  ! V4      P                  R 7      p\	        W.4      w  rV\
        P                  ! WS4       \
        P                  ! Wd4       R# )r(   N)r   r   asarrayr)   r   r   r   )r   r   r   r   r   r   r   s   &&&    r   
test_emptyTestCartesianProduct.test_empty   sk     HHRrzz!}':':;	HHRrzz!}':':;	,aV4
##G7
##G7r   c                0    \        . 4      p. pW8X  g   Q hR # r#   r   )r   resultexpecteds   &  r   test_empty_input%TestCartesianProduct.test_empty_input(   s    "2&!!!r   Xc                    R p\         P                  ! \        VR7      ;_uu_ 4        \        VR7       RRR4       R#   + '       g   i     R# ; i)z'Input must be a list-like of list-likesmatchr:   N)pytestraises	TypeErrorr   )r   r:   msgs   && r   test_invalid_input'TestCartesianProduct.test_invalid_input.   s1     8]]9C00" 1000s	   >A	c           	        R p\        ^4       Uu. uF*  p\        P                  ! ^ ^\        P                  R7      NK,  	  up\        P                  ! R\        P                  R7      .,           p\        P
                  ! \        VR7      ;_uu_ 4        \        VR7       RRR4       R# u upi   + '       g   i     R# ; i)z+Product space too large to allocate arrays!r(   i;  r<   r>   N)ranger   arangeint16r?   r@   
ValueErrorr   )r   rB   idimss   &   r   test_exceed_product_space.TestCartesianProduct.test_exceed_product_space7   s    ;:?)D)Q		!Rrxx0)DYYuBHH-H
 
 ]]:S11% 21 E 211s   0B*B//C 	 N)r/   r0   c)__name__
__module____qualname____firstlineno__r   r-   r?   markparametrizer3   r8   rC   rL   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     82 [[Vr2h!Qr?>S%TU8 V8" [[a!q!fsAhcUS#J#M##& &r   r   )numpyr   r?   pandasr   r   pandas._testing_testingr   pandas.core.indexes.multir   r   rN   r   r   <module>r^      s"       73& 3&r   