a
    1$e                     @   sb   d dl Z d dlZe jdddd Zdd Zzej  dZW n eyT   dZY n0 d	d
 Z	dS )    NT)Zautousec                 C   s   t | d< d S )N	geopandas)r   )Zdoctest_namespace r   N/var/www/html/django/DPS/env/lib/python3.9/site-packages/geopandas/conftest.pyadd_geopandas   s    r   c                 C   s   |  dd d S )NmarkerszDskip_no_sindex: skips the tests if there is no spatial index backend)Zaddinivalue_line)configr   r   r   pytest_configure
   s    r   Fc                 C   s0   t dd | jddD }|r,ts,td d S )Nc                 s   s   | ]
}|V  qd S )Nr   ).0markr   r   r   	<genexpr>       z'pytest_runtest_setup.<locals>.<genexpr>skip_no_sindex)namez;Skipped because there is no spatial index backend available)anyZiter_markershas_sindex_backendpytestskip)itemr   r   r   r   pytest_runtest_setup   s    r   )
r   r   Zfixturer   r   ZsindexZ_get_sindex_classr   ImportErrorr   r   r   r   r   <module>   s   



