bgmddlZddlZddlZddlmZGddejZGddejZGdd ejZ d Z dS) N)utilc`eZdZejddddgZejjdZ dS)TestIntentInOuttestssrc regression inout.f90cHtjdtjddd}tjt |jj|tjdtj}|j|tj|gdsJdS)Ndtype)rrr) nparangefloat32pytestraises ValueErrormodulefooallclose)selfxs s/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib64/python3.11/site-packages/numpy/f2py/tests/test_regression.py test_inoutzTestIntentInOut.test_inout s Iarz * * *33Q3 / j$+/1555 Iarz * * * {1iii(((((((N) __name__ __module__ __qualname__rgetpathsourcesrmarkslowrrrrr sMt|GUL+FFGG [)))))rrc`eZdZejddddgZejjdZ dS)TestNegativeBoundsrrnegative_boundszissue_20853.f90c tjd}d}d}d}|j|||d|||}tjdtj}tj||sJdS)N ic||z dzS)Nrr&)xlxhs ruboundz0TestNegativeBounds.test_negbound..ubound$s7Q; r)is_ie_arr r )rrrrrr)rxvecxlowxhighr0rvalexpvals r test_negboundz TestNegativeBounds.test_negboundsy}}   {4U !5&&u"5"5!56882rz222{4(((((((rN) rr r!rr"r#rr$r%r:r&rrr(r(sOt|GU,=?PQQRG [ ) ) ) ) )rr(c`eZdZejddddgZejjdZ dS)TestNumpyVersionAttributerrr r ct|jdsJt|jjtsJt j|jjksJdS)N__f2py_numpy_version__)hasattrr isinstancer>strr __version__)rs rtest_numpy_version_attributez6TestNumpyVersionAttribute.test_numpy_version_attribute1sZt{$<=====$+sQ W " "FJv&&M7&& %%%%%&&r) rGrnumpyrrF2PyTestrr(r<rLr&rrrPs  ) ) ) ) )dm ) ) ) ))))))))&DDDDD DDD$&&&&&r