o
    Û¾i!  ã                   @   s^   d dl mZ d dl mZmZ d dlmZ edƒeG dd„ dejƒƒƒZedkr-e 	¡  dS dS )	é    )Úunittest)Úskip_on_cudasimÚskip_unless_conda_cudatoolkit)Úfind_libz.Library detection unsupported in the simulatorc                   @   s   e Zd Zdd„ ZdS )ÚTestLibraryDetectionc                 C   s$   dg}|D ]
}|   t|ƒg ¡ qdS )a+  
        This test is solely present to ensure that shipped cudatoolkits have
        additional core libraries in locations that Numba scans by default.
        PyCulib (and potentially others) rely on Numba's library finding
        capacity to find and subsequently load these libraries.
        ÚnvvmN)ÚassertNotEqualr   )ÚselfÚ	core_libsÚl© r   ú`/home/ubuntu/.local/lib/python3.10/site-packages/numba/cuda/tests/cudadrv/test_cuda_libraries.pyÚtest_detect	   s   ÿz TestLibraryDetection.test_detectN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   Ú__main__N)
Únumba.cuda.testingr   r   r   Únumba.misc.findlibr   ÚTestCaser   r   Úmainr   r   r   r   Ú<module>   s    ÿ