+
    �°³jª"  ã                   óL  € R t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RItR t	R t
R t]P                  ! RR7      R 4       t]P                  ! RR7      R	 4       t ^ RItRt ^ RItRt ^ RItRt ^ RItRt ^ RItRt ^ RIt]P>                  ! RPA                  4       4       Rt! ^ RI#t#Rt$ ^ RI%t%Rt&R.t'. R8Ot(. RNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NRNR'NRNR(NR)NR*NR+NR,NR-NRNR.NR/NRNR0NRNR1NR2NR3Nt)R+R4.t*R).t+R5.t,R6.t-R.t.R7.t/]'       g
   ]'](,          t']'       g
   ]']),          t']'       g
   ]']*,          t']'       g
   ]']+,          t']'       g
   ]'],,          t']!'       g
   ]']-,          t']$'       g
   ]'].,          t']&'       g   ]']/,          t'R# R#   ] d    R
t ELQi ; i  ] d    R
t ELZi ; i  ] d    R
t ELci ; i  ] d    R
t ELli ; i  ] d    R
t ELui ; i  ]]"3 d    R
t! EL`i ; i  ] d    R
t$ ELii ; i  ] d    R
t& ELri ; i)9ax  
Testing
=======

General guidelines for writing good tests:

- doctests always assume ``import networkx as nx`` so don't add that
- prefer pytest fixtures over classes with setup methods.
- use the ``@pytest.mark.parametrize``  decorator
- use ``pytest.importorskip`` for numpy, scipy, pandas, and matplotlib b/c of PyPy.
  and add the module to the relevant entries below.

N)Úentry_pointsc                 ó„   € V P                  R RRRR7       V P                  RRRRR7       V P                  R	RRR
R7       R# )ú	--runslowÚ
store_trueFzrun slow tests)ÚactionÚdefaultÚhelpú	--backendÚstoreNzGRun tests with a backend by auto-converting nx graphs to backend graphsú--fallback-to-nxz[Run nx function if a backend doesn't implement a dispatchable function (use with --backend))Ú	addoption)Úparsers   &ÚR/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/conftest.pyÚpytest_addoptionr      sc   € Ø
×ÑØ˜L°%Ð>Nð ô ð ×ÑØØØØVð	 ô ð ×ÑØØØð ð	 ö ó    c                 óÜ  € V P                  R R4       V P                  R4      pVf    \        P                  P	                  R4      p\        RRR7      pV'       g   \        P                  ! R4       Wn        V'       Edl   VR,          \        P                  P                  P                  R&   / \        P                  P                  P                  R&   \        P                  P                  ! RR\        P                  P                  4       /\        P                  P                  B \        P                  n        V P                  R	4      pV'       g    \        P                  P	                  R
4      p\        V4      \        P                  n        \        P                  P                  P"                  P$                  \        P                  P                  P"                  n        R# R# )Úmarkerszslow: mark test as slow to runr	   NÚNETWORKX_TEST_BACKENDÚnx_loopbackznetworkx.backends)ÚnameÚgroupac  

             WARNING: Mixed NetworkX configuration! 

        This environment has mixed configuration for networkx.
        The test object nx_loopback is not configured correctly.
        You should not be seeing this message.
        Try `pip install -e .`, or change your PYTHONPATH
        Make sure python finds the networkx repo you are testing

r   ÚNETWORKX_FALLBACK_TO_NX© )Úaddinivalue_lineÚ	getoptionÚosÚenvironÚgetr   ÚwarningsÚwarnÚbackendÚnxÚutilsÚbackendsÚbackend_infoÚConfigÚconfigÚboolÚfallback_to_nxÚ_dispatchableÚ_call_if_any_backends_installedÚ__call__)r&   r    Úloopback_epr(   s   &   r   Úpytest_configurer-   ,   sS  € Ø
×Ñ˜IÐ'GÔHØ×Ñ˜{Ó+€GØ‚Ü—*‘*—.‘.Ð!8Ó9ˆä MÐ9LÔM€KßÜ�ŠðSô	
ð „Nß€wð 5@ÀÕ4NŒ�‰×Ñ×"Ñ" =Ñ1Ø8:Œ�‰×Ñ×&Ñ& }Ñ5ÜŸX™XŸ_š_ñ 
ÜŸ™Ÿ™Ó)ð
ä�i‰i× Ñ ñ
Œ�	‰	Ôð  ×)Ñ)Ð*<Ó=ˆßÜŸZ™ZŸ^™^Ð,EÓFˆNÜ#'¨Ó#7Œ�	‰	Ô ä�H‰H×Ñ×+Ñ+×KÑKô 	�‰×Ñ×'Ñ'Ö0ñ r   c                 ó¨  € V P                   '       dÚ   V P                   pVR 8w  dÇ   R\        P                  P                  P                  n        V.\        P                  P                  n        V.\        P                  P                  n	        \        P                  P                  P                  V,          P                  4       p\        VR4      '       d   \        VR4      ! V4       V P                  R4      '       d   R# \        P                  P!                  RR7      pV F'  pRVP"                  9   g   K  VP%                  V4       K)  	  R# )ÚnetworkxTÚon_start_testsr   Nzneed --runslow option to run)ÚreasonÚslow)r    r!   r"   r#   r)   Ú_is_testingr&   Úbackend_priorityÚalgosÚ
generatorsÚloadÚhasattrÚgetattrr   ÚpytestÚmarkÚskipÚkeywordsÚ
add_marker)r&   ÚitemsÚbackend_namer    Ú	skip_slowÚitems   &&    r   Úpytest_collection_modifyitemsrC   O   sï   € ð ‡~‡~€~ð —~‘~ˆØ˜:Ô%Ø:>ŒB�H‰H×Ñ×+Ñ+Ô7Ø0<¨~ŒB�I‰I×&Ñ&Ô,Ø5A°NŒB�I‰I×&Ñ&Ô1Ü—h‘h×'Ñ'×0Ñ0°Õ>×CÑCÓEˆGÜ�wÐ 0×1Ò1Ü˜Ð!1Ô2°5Ô9à×Ñ˜×$Ò$áÜ—‘× Ñ Ð(FÐ ÓG€IÛˆØ�T—]‘]Ö"Ø�O‰O˜IÖ&ó r   T)Úautousec                  óÖ  € \         P                  ! R \        RR7       \         P                  ! R \        RR7       \         P                  ! R \        RR7       \         P                  ! R \        RR7       \         P                  ! R \        RR7       \         P                  ! R \        RR7       \         P                  ! R \        RR7       \         P                  ! R \        R	R
7       R# )Úignorez:Exited (at iteration \d+|postprocessing) with accuracies.*)ÚcategoryÚmessagezThe hashes produced for z

The `normalized`Úmaybe_regular_expanderzmetric_closure is deprecatedz

bfs_predecessorszThe p2g moduleÚpydot)rG   ÚmoduleN)r   ÚfilterwarningsÚUserWarningÚDeprecationWarningr   r   r   Úset_warningsrO   h   sÄ   € ä×ÒØÜØMõô
 ×ÒØÜØ+õô
 ×ÒØÔ-Ð7Mõô ×ÒØÔ-Ð7Oõô ×ÒØÔ-Ð7Uõô ×ÒØÔ-Ð7Mõô ×ÒØÔ-Ð7Gõô
 ×Ò˜HÔ/AÈ'×Rr   c                 ó   € \         V R &   R# )r!   N)r!   )Údoctest_namespaces   &r   Úadd_nxrR   ˆ   s   € ä Ð�dÓr   Fzdot -Vzreadwrite/p2g.pyú.algorithms/approximation/traveling_salesman.pyú"algorithms/centrality/laplacian.pyú!algorithms/node_classification.pyúalgorithms/polynomials.pyúalgorithms/tree/mst.pyúgenerators/expanders.pyúlinalg/bethehessianmatrix.pyúlinalg/laplacianmatrix.pyz'algorithms/assortativity/correlation.pyz"algorithms/assortativity/mixing.pyz!algorithms/assortativity/pairs.pyzalgorithms/bipartite/matrix.pyz algorithms/bipartite/spectral.pyz%algorithms/bipartite/link_analysis.pyz1algorithms/centrality/current_flow_betweenness.pyz8algorithms/centrality/current_flow_betweenness_subset.pyz$algorithms/centrality/eigenvector.pyzalgorithms/centrality/katz.pyz%algorithms/centrality/second_order.pyz%algorithms/centrality/subgraph_alg.pyz!algorithms/communicability_alg.pyz algorithms/community/divisive.pyz$algorithms/community/bipartitions.pyzalgorithms/distance_measures.pyz$algorithms/link_analysis/hits_alg.pyz(algorithms/link_analysis/pagerank_alg.pyzalgorithms/similarity.pyzalgorithms/walks.pyzconvert_matrix.pyzdrawing/layout.pyzdrawing/nx_pylab.pyz"generators/spectral_graph_forge.pyzgenerators/geometric.pyzlinalg/algebraicconnectivity.pyzlinalg/attrmatrix.pyzlinalg/graphmatrix.pyzlinalg/modularitymatrix.pyzlinalg/spectrum.pyzutils/rcm.pyzgenerators/classic.pyzdrawing/nx_agraph.pyzdrawing/nx_pydot.pyzreadwrite/graphml.py)rS   z#algorithms/approximation/density.pyz/algorithms/centrality/current_flow_closeness.pyrT   rU   zalgorithms/non_randomness.pyrV   z"algorithms/shortest_paths/dense.pyrW   zdrawing/nx_latex.pyrX   rY   rZ   zutils/misc.py)0Ú__doc__r   Ú
subprocessr   Úimportlib.metadatar   r:   r/   r!   r   r-   rC   ÚfixturerO   rR   ÚnumpyÚnpÚ	has_numpyÚImportErrorÚscipyÚspÚ	has_scipyÚ
matplotlibÚmplÚhas_matplotlibÚpandasÚpdÚ
has_pandasÚ
pygraphvizÚhas_pygraphvizrJ   Úcheck_outputÚsplitÚ	has_pydotÚFileNotFoundErrorÚsympyÚ	has_sympyÚlxmlÚhas_lxmlÚcollect_ignoreÚneeds_numpyÚneeds_scipyÚneeds_matplotlibÚneeds_pandasÚneeds_pygraphvizÚneeds_pydotÚneeds_sympyÚ
needs_lxmlr   r   r   Ú<module>r      sÞ  ðñó 
Û Û Ý +ã ã òò& 
òF'ð2 ‡‚˜ÔñSó ðSð> ‡‚˜Ôñ!ó ð!ðÛà€IðÛà€IðÛà€NðÛà€JðÛà€NðÛð ×Ò˜HŸN™NÓ,Ô-à€IðÛà€IðÛà€Hð %Ð%€ò€ð 'Ø4ð'à-ð'ð )ð'ð (ð	'ð
 %ð'ð 'ð'ð ,ð'ð 8ð'ð ?ð'ð +ð'ð $ð'ð )ð'ð ,ð'ð ,ð'ð (ð'ð  'ð!'ð" +ð#'ð$ &ð%'ð& +ð''ð( /ð)'ð* (ð+'ð, ð-'ð. ð/'ð0 ð1'ð2 ð3'ð4 ð5'ð6 ð7'ð8 )ð9'ð: ð;'ð< ð='ð> &ð?'ð@ ðA'ðB #ðC'ðD ðE'ðF  ðG'ðH !ðI'ðJ ðK'ðL ðM'€ðP *Ð+BÐCÐ Ø#Ð$€Ø*Ð+Ð Ø$Ð%€Ø*Ð+€Ø$Ð%€
çØ�kÕ!€NßØ�kÕ!€NßØÐ&Õ&€NßØ�lÕ"€NßØÐ&Õ&€NßØ�kÕ!€NßØ�kÕ!€NßØ�jÕ ‚Nñ øðS ô ØƒIðûð ô ØƒIðûð ô ØƒNðûð ô ØƒJðûð ô ØƒNðûð 	Ð&Ð'ô ØƒIðûð ô ØƒIðûð ô ØƒHðús�   ÁF$ Á F4 Á'G Á.G Á5G$ Á<&G4 Â#H Â*H Æ$	F1Æ0F1Æ4	GÇ GÇ	GÇGÇ	G!Ç G!Ç$	G1Ç0G1Ç4HÈHÈ	HÈHÈ	H#È"H#