B
    Nô`Å  ã               @   sº  d dl Z d dlZd dlZd dlZdd„ Zdd„ Zdd„ Ze jdd	�d
d„ ƒZe jdd	�dd„ ƒZ	yd dl
Z
dZW n ek
rˆ   dZY nX yd dlZdZW n ek
r²   dZY nX yd dlZdZW n ek
rÜ   dZY nX yd dlZdZW n ek
�r   dZY nX yd dlZdZW n ek
�r4   dZY nX yd dlZdZW n ek
�r`   dZY nX yd dlZdZW n ek
�rŒ   dZY nX yd dlZdZW n ek
�r¸   dZY nX g ZdddddddgZddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/gZd0gZd'gZd1gZ d2gZ!d3gZ"d4gZ#e�s:ee7 Ze�sHee7 Ze�sVee7 Ze�sdee7 Ze�sree 7 Ze�s€ee!7 Ze�sŽee"7 Ze�sœee#7 Zej$ %d5¡�r¶ed6d7g7 ZdS )8é    Nc             C   s   | j ddddd� d S )Nz	--runslowÚ
store_trueFzrun slow tests)ÚactionÚdefaultÚhelp)Z	addoption)Úparser© r   ú5/tmp/pip-unpacked-wheel-fc63gmtm/networkx/conftest.pyÚpytest_addoption   s    r	   c             C   s   |   dd¡ d S )NÚmarkerszslow: mark test as slow to run)Zaddinivalue_line)Úconfigr   r   r   Úpytest_configure   s    r   c             C   sB   |   d¡rd S tjjdd�}x |D ]}d|jkr"| |¡ q"W d S )Nz	--runslowzneed --runslow option to run)ÚreasonZslow)Z	getoptionÚpytestÚmarkÚskipÚkeywordsZ
add_marker)r   ÚitemsZ	skip_slowÚitemr   r   r   Úpytest_collection_modifyitems   s    


r   T)Zautousec               C   s”   t jdtdd� t jdtdd� t jdtdd� t jdtdd� t jdtdd� t jdtdd� t jdtd	d� t jdtd
d� t jdtdd� d S )NÚignorez!literal_stringizer is deprecated*)ÚcategoryÚmessagez#literal_destringizer is deprecated*zis_string_like is deprecated*zmake_str is deprecated*z'context manager reversed is deprecated*z$This will return a generator in 3.0*zbetweenness_centrality_source*zedge_betweeness*z/the matrix subclass is not the recommended way*)ÚwarningsÚfilterwarningsÚDeprecationWarningÚPendingDeprecationWarningr   r   r   r   Úset_warnings   s8    r   c             C   s   t | d< d S )NZnx)Únetworkx)Zdoctest_namespacer   r   r   Úadd_nxE   s    r   Fz/algorithms/centrality/current_flow_closeness.pyz*algorithms/node_classification/__init__.pyzalgorithms/non_randomness.pyz"algorithms/shortest_paths/dense.pyzlinalg/bethehessianmatrix.pyzlinalg/laplacianmatrix.pyzutils/misc.pyz'algorithms/assortativity/correlation.pyz"algorithms/assortativity/mixing.pyz!algorithms/assortativity/pairs.pyzalgorithms/bipartite/matrix.pyz algorithms/bipartite/spectral.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/link_analysis/hits_alg.pyz(algorithms/link_analysis/pagerank_alg.pyz%algorithms/node_classification/hmn.pyz%algorithms/node_classification/lgc.pyzalgorithms/similarity.pyzconvert_matrix.pyzdrawing/layout.pyz"generators/spectral_graph_forge.pyzlinalg/algebraicconnectivity.pyzlinalg/attrmatrix.pyzlinalg/graphmatrix.pyzlinalg/modularitymatrix.pyzlinalg/spectrum.pyzutils/rcm.pyzdrawing/nx_pylab.pyzreadwrite/nx_yaml.pyzdrawing/nx_agraph.pyzdrawing/nx_pydot.pyzreadwrite/nx_shp.pyÚwinzreadwrite/graph6.pyzreadwrite/sparse6.py)&r   r   Úsysr   r	   r   r   Zfixturer   r   ZnumpyZ	has_numpyÚImportErrorZscipyZ	has_scipyZ
matplotlibZhas_matplotlibZpandasZ
has_pandasZ
pygraphvizZhas_pygraphvizZyamlZhas_yamlZpydotZ	has_pydotZogrZhas_ogrZcollect_ignoreZneeds_numpyZneeds_scipyZneeds_matplotlibZneeds_pandasZ
needs_yamlZneeds_pygraphvizZneeds_pydotZ	needs_ogrÚplatformÚ
startswithr   r   r   r   Ú<module>   sÔ   )







