+
    )ii                        R 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Rt ^ RItRt . t!. R5O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R.NRNR/NR0NR1Nt#R)R2.t$R'.t%R3.t&R4.t'R.t(]'       g
   ]!]",          t!]'       g
   ]!]#,          t!]'       g
   ]!]$,          t!]'       g
   ]!]%,          t!]'       g
   ]!]&,          t!]'       g
   ]!]',          t!] '       g   ]!](,          t!R# R#   ] d    R
t ELi ; i  ] d    R
t ELi ; i  ] d    R
t EL'i ; i  ] d    R
t EL0i ; i  ] d    R
t EL9i ; i  ] d    R
t ELBi ; i  ] d    R
t  ELKi ; i)6ax  
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   &O/var/www/html/photoedit/myenv/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M9LMKS	
 Nw 5@4N""=18:&&}5XX__ 
)
ii  
		  ))*<=ZZ^^,EFN#'#7		 HH++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   N   s     ~~~ ~~:%:>BHH++70<~BII&&,5ANBII&&1hh''00>CCEGw 011!1259$$  (F GIT]]"OOI& 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       R# )ignorez:Exited (at iteration \d+|postprocessing) with accuracies.*)categorymessagezThe hashes produced for z

The `normalized`maybe_regular_expanderzmetric_closure is deprecatedN)r   filterwarningsUserWarningDeprecationWarningr   r   r   set_warningsrM   g   s}    M
 +
 -7M -7O -7Ur   c                     \         V R &   R# )r!   N)r!   )doctest_namespaces   &r   add_nxrP   ~   s     dr   F.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.py)rQ   z/algorithms/centrality/current_flow_closeness.pyrR   rS   zalgorithms/non_randomness.pyrT   z"algorithms/shortest_paths/dense.pyrU   zdrawing/nx_latex.pyrV   rW   rX   zutils/misc.py))__doc__r   r   importlib.metadatar   r:   r/   r!   r   r-   rC   fixturerM   rP   numpynp	has_numpyImportErrorscipysp	has_scipy
matplotlibmplhas_matplotlibpandaspd
has_pandas
pygraphvizhas_pygraphvizpydot	has_pydotsympy	has_sympycollect_ignoreneeds_numpyneeds_scipyneeds_matplotlibneeds_pandasneeds_pygraphvizneeds_pydotneeds_sympyr   r   r   <module>rw      s   
  +  & 
F'2  , ! !IINJNII '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 w  I  I  N  J  N  I  Is~   E$ E4 #F *F 1F$ 8F4 ?G $	E10E14	F F	FF	F! F!$	F10F14	G G	GG