a
    1$e                     @   s,   d dl Z d dlZdd Zdd Zdd ZdS )    Nc                   C   s   dt tjv sJ tttjh dks,J tt tjj W d    n1 sT0    Y  tt dtj_W d    n1 s0    Y  d S )Nzdisplay_precision: >   	io_enginedisplay_precisionZ
use_pygeos
   )	repr	geopandasoptionssetdirpytestraisesAttributeErrorZnon_existing_option r   r   W/var/www/html/django/DPS/env/lib/python3.9/site-packages/geopandas/tests/test_config.pytest_options   s    &r   c                   C   s   t jjd u sJ dt j_t jjdks(J tt dt j_W d    n1 sP0    Y  tt dt j_W d    n1 s0    Y  d t j_d S )N   abc)r   r   r   r
   r   
ValueErrorr   r   r   r   test_options_display_precision   s    &&r   c                   C   s   t jjd u sJ dt j_t jjdks(J tt dt j_W d    n1 sP0    Y  tt dt j_W d    n1 s0    Y  d t j_d S )NZpyogrior   r   )r   r   r   r
   r   r   r   r   r   r   test_options_io_engine$   s    &&r   )r   r
   r   r   r   r   r   r   r   <module>   s   