o
    ßË·e¦  ã                   @   s(   d dl Z ddd„Zedkreƒ  dS dS )é    Né   Fc              
   C   s¤   t  dt¡ ddl}dg}| r"t| ƒdkr"|ddt| ƒd   g7 }|r)|dg7 }|d	d
g7 }z
| |¡}W |dkS  tyQ } z|j}W Y d}~|dkS d}~ww )zìRun NetworkX tests.

    Parameters
    ----------
    verbosity: integer, optional
      Level of detail in test reports.  Higher numbers provide more detail.

    doctest: bool, optional
      True to run doctests in code modules
    zm`run` is deprecated and will be removed in version 3.0.
Call `pytest` directly from the commandline instead.
r   Nz-lr   ú-Úvz--doctest-modulesz--pyargsÚnetworkx)ÚwarningsÚwarnÚDeprecationWarningÚpytestÚintÚmainÚ
SystemExitÚcode)Ú	verbosityÚdoctestr	   Úpytest_argsr   Úerr© r   úL/var/www/ideatree/venv/lib/python3.10/site-packages/networkx/testing/test.pyÚrun   s&   û
ý€ýr   Ú__main__)r   F)r   r   Ú__name__r   r   r   r   Ú<module>   s
    
'
ÿ