o
    h                     @   s(   d dl mZ d dlZg dZdd ZdS )    )assert_N))f77F77FLAGS)f90F90FLAGS)free	FREEFLAGS)archFARCH)debugFDEBUG)flagsFFLAGS)	linker_soLDFLAGSc                 C   s   |  dd tjjjdd}|jdd }tD ]%\}}d|}t	||}|  || t	||}| 
| t||gk q|  dd tD ]3\}}d|}t	||}|  || t	||}| 
| |d u rpt||gk qFt|||g k qFd S )	NNPY_DISTUTILS_APPEND_FLAGS0none)compilerc                  _   s   d S )N )argskwargsr   r   x/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/numpy/distutils/tests/test_fcompiler.py<lambda>   s    z&test_fcompiler_flags.<locals>.<lambda>z-dummy-{}-flag1)setenvnumpy	distutils	fcompilernew_fcompiler	flag_varsclonecustomizable_flagsformatgetattrdelenvr   )monkeypatchfcr    optenvvarnew_flag
prev_flags	new_flagsr   r   r   test_fcompiler_flags   s*   







r-   )numpy.testingr   numpy.distutils.fcompilerr   r"   r-   r   r   r   r   <module>   s    