K i &ddlZddlZdZdZdZy)Nc`tj}|jsJ|j}|jsJ|jdk(sJ|j tj jk(sJ|jdk(sJ||k(sJt|dk(sJt|dk(sJy)Nzarrow::CPUDevicezz+) padefault_cpu_memory_manageris_cpudevice device_id device_typeDeviceAllocationTypeCPU type_namerepr)mmrs _/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pyarrow/tests/test_device.pytest_device_memory_managerrs & & (B 999 YYF ===   r !! !   !8!8!r1s$  E %-r