
    <>i?                     R    S SK r S SKr\ R                  R                  rS rS rS rg)    Nc                      [         R                  " [        S5      5      n Sn[        R                  " [
        US9   U R                  5         S S S 5        g ! , (       d  f       g = f)N
   5Cannot return a numpy.ndarray if NumPy is not presentmatch)paarrayrangepytestraisesImportErrorto_numpy)arrmsgs     _/var/www/html/land-tabula/venv/lib/python3.13/site-packages/pyarrow/tests/test_without_numpy.pytest_array_to_npr      s<    
((59
C
AC	{#	. 
/	.	.s   A
A#c                      [         R                  " / SQ/ SQ/ /5      n Sn[        R                  " [        US9   U R                  5         S S S 5        g ! , (       d  f       g = f)N)         )         r   r   )r   chunked_arrayr   r   r   r   )datar   s     r   test_chunked_array_to_npr   $   sK    
 D
 BC	{#	. 
/	.	.s   A
A!c                     [         R                  " [         R                  " 5       SS/5      n / SQ/ SQ/ SQ/n[         R                  " U[         R                  " [         R                  " 5       S5      5      n[         R
                  R                  X5      nUR                  5       nSn[        R                  " [        US9   UR                  5         S S S 5        g ! , (       d  f       g = f)Nr   )r   r   r   r   )r         (   )d      i,  i  r   r   r   )r   fixed_shape_tensorint32r	   list_ExtensionArrayfrom_storage	to_tensorr   r   r   r   )tensor_typer   storagetensor_arraytensorr   s         r   test_tensor_to_npr-   0   s    ''
QF;K)+?
@ChhsBHHRXXZ34G$$11+GL##%F
AC	{#	. 
/	.	.s   C
C))	r   pyarrowr   marknonumpy
pytestmarkr   r   r-        r   <module>r4      s-   $   [[  
	
r3   