o
    i                     @   s   d dl Z d dlZd dlZd dlZe jeZe jedZ	ej
je je	 de	 dej
jdejvddej
jejdddej
d	d
dgdd ZdS )    Nz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                    s   dd l dtjvsJ jtt d| t|d d } fdd}|| ddl	m
} t|d	s5J d
}||}||ksBJ d S )Nr   zmq.tests.cython_ext)include_dirs)
setup_argsr   	build_dirc                      s   j    tjdd  d S )Nr   )	uninstallsysmodulespop 	importers	pyximportr   P/var/www/edux/Edux_v2/venv/lib/python3.10/site-packages/zmq/tests/test_cython.pyunimport$   s   
ztest_cython.<locals>.unimport   )
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   r   r   test_cython   s   

r$   )osr   pytestr   pathdirname__file__HEREjoinr   markskipifexistsr   platform
startswithparametrizer$   r   r   r   r   <module>   s$    
