
    Zd                     >   d dl Z d dlZd dlZd dlZ ej        d          Ze j                            e          Z	e j        
                    e	d          Zej                            e j                            e           de           ej                            dej        vd          ej                            ej                            d          d	          ej                            d
ddg          d                                                 ZdS )    N	pyximportzcython_ext.pyxzRequires cython test file )reasonzzmq.backend.cythonzRequires cython backendwinz#Don't try runtime Cython on Windowslanguage_level      c                 `   dt           j        vsJ t                              t	          t          j                              | t          |                    d }fd}|                    |           ddl	m
} t          |d          sJ d}|                    |          }||k    sJ d S )	Nzmq.tests.cython_ext)include_dirs)
setup_argsr   	build_dirc                  d    t          j           t          j                            dd            d S )Nr
   )r   	uninstallsysmodulespop)	importerss   5lib/python3.11/site-packages/zmq/tests/test_cython.pyunimportztest_cython.<locals>.unimport$   s.    Y''.55555       )
cython_extsend_recv_tests   my msg)r   r   r   installdictzmqget_includesstraddfinalizer r   hasattrr   )r   requesttmpdirr   r   msgreceivedr   s          @r   test_cythonr&      s     "4444!!S%5%7%7888%f++ "  I J6 6 6 6 6 """ :/00000 C((--Hs??????r   )osr   pytestr   importorskipr   pathdirname__file__HEREjoinr   markskipifexistsr   platform
startswithparametrizer&    r   r   <module>r6      sU   				 



  



F,,		wx  W\\$ 011
 
z"""4
44    +4M    LE""+P    )Aq622  32  	   r   