a
    «J5dÓ  ã                   @   sJ   d dl Z d dlmZmZmZ g d¢Zddd„Zdd„ Zd	d
„ Zdd„ Z	dS )é    N)Úedges_equalÚgraphs_equalÚnodes_equal)Úassert_nodes_equalÚassert_edges_equalÚassert_graphs_equalÚalmost_equalé   c                 C   s"   t  dt¡ tt| | ƒ|ƒdkS )Nz^`almost_equal` is deprecated and will be removed in version 3.0.
Use `pytest.approx` instead.
r   )ÚwarningsÚwarnÚDeprecationWarningÚroundÚabs)ÚxÚyZplaces© r   úR/var/www/html/django/DPS/env/lib/python3.9/site-packages/networkx/testing/utils.pyr      s
    ûr   c                 C   s   t  dt¡ t| |ƒsJ ‚d S )Nz–`assert_nodes_equal` is deprecated and will be removed in version 3.0.
Use `from networkx.utils import nodes_equal` and `assert nodes_equal` instead.
)r
   r   r   r   )Znodes1Znodes2r   r   r   r      s
    ûr   c                 C   s   t  dt¡ t| |ƒsJ ‚d S )Nz–`assert_edges_equal` is deprecated and will be removed in version 3.0.
Use `from networkx.utils import edges_equal` and `assert edges_equal` instead.
)r
   r   r   r   )Zedges1Zedges2r   r   r   r   #   s
    ûr   c                 C   s   t  dt¡ t| |ƒsJ ‚d S )Nz™`assert_graphs_equal` is deprecated and will be removed in version 3.0.
Use `from networkx.utils import graphs_equal` and `assert graphs_equal` instead.
)r
   r   r   r   )Zgraph1Zgraph2r   r   r   r   .   s
    ûr   )r	   )
r
   Znetworkx.utilsr   r   r   Ú__all__r   r   r   r   r   r   r   r   Ú<module>   s   
