+
    ei!  c                   st   R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RI	t	^ RI
t
^ RI
t^ RIHt ^ RIHtHt ^ RIHt  ^ RIHt RtRs/ t]P2                  P5                  ]P6                  P9                  ]P:                  ! 4       R	4      4       ]P<                  P?                  R
RRR7       ]P<                  P?                  RRRRR] ! ]PB                  4      R7       ]P6                  P9                  ]P6                  PE                  ]#4      RR4      t$]P<                  PK                  ]P6                  PM                  ]$4      '       d   R
MR4       R]PN                  R&   R t(R t)Rt*]'       d   ]PV                  ! 4       t*R t,R t-]	P\                  ! 4       R 4       t/]	P`                  ! RRR7      R 4       t1]	P`                  ! RR7      R 4       t2]	P`                  ! RR7      R 4       t3]'       d   ]R5R l4       t4]4]n5        ]Pl                  Po                  R4       ]Pl                  Po                  R4       R]n8        ^ RI9t9]9Pt                  ]9Pv                  ,          ]n<        ]
Pz                  P|                  ]P~                  R &   0 R6m]n@        R!R"R#R"R$R%R&R'R(R)R*R+/]nA        . R7O]nB        ]	P`                  R, 4       tC]	P`                  ! RR.R-7      R. 4       tD]	P`                  ! R/R]]P                  ]F! R04      R1.. R8OR27      R3 4       tG]	P`                  ! 4       R4 4       tHR#   ] d    Rt ELi ; i)9z=
Pytest configuration and fixtures for the Numpy test suite.
N)contextmanager)get_fpu_mode)get_stringdtype_dtypepd_NA)NOGIL_BUILD)	dt_configTFz.hypothesisznumpy-profile)namedeadline
print_blobznp.test() profile)r   r   r   ZdatabaseZderandomizeZsuppress_health_checkz..z
pytest.iniZ1ZNUMPY_EXPERIMENTAL_DTYPE_APIc                 s    V P                  R R4       V P                  R R4       V P                  R R4       V P                  R R4       R# )Zmarkersz=valgrind_error: Tests that are known to error under valgrind.z:leaks_references: Tests that are known to leak references.zslow: Tests that are very slow.z,slow_pypy: Tests that are very slow on pypy.N)Zaddinivalue_line)config   &5/usr/lib64/python3.14/site-packages/numpy/conftest.pypytest_configurer   ;   sP    
IGI
IDF
I)+
I68    c                 s0    V P                  R RRRR7       R# )z--available-memoryZstoreNzSet amount of memory available for running the test suite. This can result to tests requiring especially large amounts of memory to be skipped. Equivalent to setting environment variable NPY_AVAILABLE_MEM. Default: determinedautomatically.)ZactionZdefaultZhelp)Z	addoption)Zparserr
   r   pytest_addoptionr   F   s!    
)'4,  .r   c                 sn    V P                   P                  R 4      pVe   V\        P                  R&   R# R# )Zavailable_memoryNZNPY_AVAILABLE_MEM)r	   Z	getoptionosenviron)ZsessionZavailable_mem   & r   pytest_sessionstartr   U   s1    NN,,-?@M *7

&' !r   c                 s   \         '       d   \        '       g   \        P                  ! 4       '       d   T pVP	                  4        VP                  R RRRR7       VP                  R4       VP                  R4       VP                  R4       VP                  R4       VP                  R4       VP                  R	4       VP                  R
4       \        P                  ! R^R7       R# R# R# R# )zGIL re-enabledZ=T)ZsepZredZboldz3The GIL was re-enabled at runtime during the tests.z;This can happen with no test failures if the RuntimeWarningz9raised by Python when this happens is filtered by a test. z;Please ensure all new C modules declare support for runningz:without the GIL. Any new tests that intentionally imports z:code that re-enables the GIL should do so in a subprocess.zGIL re-enabled during tests)Z
returncodeN)	r   gil_enabled_at_startsys_is_gil_enabledZensure_newlineZsectionZlinepytestZexit)ZterminalreporterZ
exitstatusr	   Ztrs   &&& r   pytest_terminal_summaryr   [   s    {//C4G4G4I4I



#$T
B
EF
MN
KL

MN
LM
LM1a@ 5J/{r   c                sn    \        4       p\        f   VsR# V\        8w  d   \        V3\        V &   VsR# R# )z
Check FPU precision mode was not changed during test collection.

The clumsy way we do it here is mainly necessary because numpy
still uses yield tests, which can execute code at test collection
time.
N)r   _old_fpu_mode_collect_results)ZitemZmoder   r   pytest_itemcollectedr   j   s8     >D		"/!6 
r   Zfunction)Zscopeautousec              #  s   "   \        4       pRx  \        4       pW8w  d   \        RVR RVR R24      h\        P                  V P                  4      pVe   Vw  r\        RVR RVR R24      hR# 5i)z;
Check FPU precision mode was not changed during the test.
Nz FPU precision mode changed from z#xz to z during the testz when collecting the test)r   ZAssertionErrorr   ZgetZnode)requestZold_modeZnew_modeZcollect_results   &   r   check_fpu_moder   ~   s     
 ~H	~H?}D (},<> ? 	? &))',,7N!+?}D (},EG H 	H "s   A0A2)r   c                 s    \         V R &   R# )npN)numpy)Zdoctest_namespacer
   r   add_npr!      s    #dr   c                 s*    V P                  R R4       R# )ZPYTHONHASHSEEDZ0N)Zsetenv)Zmonkeypatchr
   r   	env_setupr"      s    '-r   c              #  sR  "   . ROpRP                  V4      pRR.pRP                  V4      p\        P                  ! 4       ;_uu_ 4        \        P                  ! R\        VR7       \        P                  ! R\
        VR7       Rx  RRR4       R#   + '       g   i     R# ; i5i)z4Filter out the wall of DeprecationWarnings.
        Z|zinvalid value encounteredzdivide by zero encounteredZignore)ZcategoryZmessageN)zThe numpy.linalg.linalgzThe numpy.fft.helperZdep_utilZpkg_resourcesznumpy.core.umathZmsvccompilerzDeprecated callz
numpy.corezImporting from numpy.matlibzThis function is deprecated.zData type alias 'a'zArrays of 2-dimensional vectorsz`in1d` is deprecated)joinwarningsZcatch_warningsZfilterwarningsZDeprecationWarningZRuntimeWarning)ZtestZmsgsZmsgZmsgs_rZmsg_rs   &    r   warnings_errors_and_rngr%      s     * hhtn ((
  $$&&###5s ##>5  '&&&s   AB'
?B	
B'B$		B'z#uninitializedz# uninitializedStringDTypezhow-to-verify-bug.rstr   zc-info.ufunc-tutorial.rstzbasics.interoperability.rstzneeds pandaszbasics.dispatch.rstz#errors out in /testing/overrides.pyzbasics.subclassing.rstz(.. testcode:: admonitions not understoodzmisc.rstzmanipulates warningsc                  s    \        \        P                  \        P                  ,           4      p \        P
                  ! V R R7      p \        P                  P                  V RRR7      pVP                  R4      # )ZU1)dtypeT)ZsizeZreplaceZU100i  )	liststringZascii_lettersZdigitsr   ZarrayZrandomZchoiceZview)ZcharsZrets     r   random_string_listr*      sU    %%56EHHU$'E
))

5x

>C88Fr   )paramsc                     V P                   # NZparamr   r
   r   coercer0      s    ==r   unsetnanZ__nan__)r+   Zidsc                 r,   r-   r.   r/   r
   r   	na_objectr3      s    
 ==r   c                 s    \        W4      # r-   )r   )r3   r0   s   &&r   r'   r'      s     33r   r-   >   znumpy.savezznumpy.matlib.savezznumpy.__array_namespace_info__z%numpy.matlib.__array_namespace_info__)znumpy/distutilsznumpy/_core/cversions.pyznumpy/_pyinstallerznumpy/random/_examplesz"numpy/f2py/_backends/_distutils.py)r1   ZNonez	pandas.NAznp.nanzfloat('nan')z
string nan)IZ__doc__r   r)   r   Ztempfiler$   Z
contextlibr    Z
hypothesisr   r    r   Znumpy._core._multiarray_testsr   Znumpy._core.tests._natyper   r   Znumpy.testing._private.utilsr   Zscipy_doctest.conftestr   Z
HAVE_SCPDTZModuleNotFoundErrorr   r   ZconfigurationZset_hypothesis_home_dirZpathr#   Z
gettempdirZsettingsZregister_profiler(   ZHealthCheckZdirnameZ__file__Z_pytest_iniZload_profileZisfiler   r   r   r   r   r   r   Zhookimplr   Zfixturer   r!   r"   r%   Zuser_context_mgrZrndm_markersZaddZstrict_checkZdoctestZNORMALIZE_WHITESPACEZELLIPSISZoptionflagsZdtypesr&   Zcheck_namespaceZskiplistZpytest_extra_xfailZpytest_extra_ignorer*   r0   r2   Zfloatr3   r'   ) r   r   <module>r4      sP   
  
   %     6 B 40J
      0 0GGLL$$&6    $ $	4D %     $ $	dTtz556 %  ggll277??84dLI 
      ww~~k22O8K
 .1

) *8.  ..08A  & j$/H 0H& $ $ . .  D "9I /001 "I#887;K;KKI 05||/G/GIm,I 	 #R%~D "L*$I %I!   e}% & T5"&&%,	BN	 4 4U  Js   L* *	L76L7