o 6a@s(ddlmZddlZgdZddZdS))assert_N))f77F77FLAGS)f90F90FLAGS)free FREEFLAGS)archFARCH)debugFDEBUG)flagsFFLAGS) linker_soLDFLAGScCs|ddtjjjdd}|jdd}tD]%\}}d|}t ||}|||t ||}| |t ||gkq|ddtD]3\}}d|}t ||}|||t ||}| ||durpt ||gkqFt |||gkqFdS) NNPY_DISTUTILS_APPEND_FLAGS0none)compilerc_sdS)N)argskwargsrrF/usr/lib/python3/dist-packages/numpy/distutils/tests/test_fcompiler.pysz&test_fcompiler_flags..z-dummy-{}-flag1) setenvnumpy distutils fcompiler new_fcompiler flag_varsclonecustomizable_flagsformatgetattrdelenvr) monkeypatchfcr optenvvarnew_flag prev_flags new_flagsrrrtest_fcompiler_flagss*              r-) numpy.testingrnumpy.distutils.fcompilerrr"r-rrrrs