o
    3ήc                     @   s8   d Z ddlZddlZdd Zdd Zdd Zd	d
 ZdS )z.TODO: Remove this test module for version 3.0.    Nc                  C   J   t jdd  tt ddlm}  W d    d S 1 sw   Y  d S )N'networkx.algorithms.node_classificationr   hmn)sysmodulespoppytestwarnsDeprecationWarning'networkx.algorithms.node_classificationr   r    r   f/tmp/pip-target-vg8gfxp4/lib/python/networkx/algorithms/tests/test_node_classification_deprecations.pytest_hmn_deprecation_warning      "r   c                  C   r   )Nr   r   lgc)r   r   r   r	   r
   r   r   r   r   r   r   r   test_lgc_deprecation_warning   r   r   c                 C   s2   t jdd  ddlm}m} t| dksJ d S )Nr   r   )harmonic_functionlocal_and_global_consistency)r   r   r   r   r   r   len)recwarnr   r   r   r   r   test_no_warn_on_function_import   s   r   c                 C   s.   t jdd  ddlm} t| dksJ d S )Nr   r   )node_classification)r   r   r   networkx.algorithmsr   r   )r   r   r   r   r   test_no_warn_on_package_import$   s   r   )__doc__r   r	   r   r   r   r   r   r   r   r   <module>   s    