U
    `»{jZ  ã                   @   sŠ   d dl mZmZmZ d dlmZmZmZ d dlm	Z	m
Z
 d dlmZmZmZmZ d dlmZmZmZ d dlmZ dej› �Zdd
d„ZdS )é   )ÚPoochÚcreateÚretrieve)Úos_cacheÚcheck_versionÚ
get_logger)Ú	file_hashÚmake_registry)ÚHTTPDownloaderÚFTPDownloaderÚSFTPDownloaderÚDOIDownloader)ÚUnzipÚUntarÚ
Decompress)Ú_versionÚvTFc                 C   s|   ddl }t}g }|r| d¡ |r<| d|› �¡ | d¡ | rJ| d¡ | d¡ | |¡ | |¡}|dksxtdƒ‚dS )	aq  
    Run the test suite.

    Uses `py.test <http://pytest.org/>`__ to discover and run the tests.

    Parameters
    ----------

    doctest : bool
        If ``True``, will run the doctests as well (code examples that start
        with a ``>>>`` in the docs).
    verbose : bool
        If ``True``, will print extra information during the test run.
    coverage : bool
        If ``True``, will run test coverage analysis on the code as well.
        Requires ``pytest-cov``.

    Raises
    ------

    AssertionError
        If pytest returns a non-zero error code indicating that some tests have
        failed.

    é    Nz-vvz--cov=z--cov-report=term-missingz--doctest-modulesz--pyargszSome tests have failed.)ÚpytestÚ__name__ÚappendÚmainÚAssertionError)ÚdoctestÚverboseZcoverager   ÚpackageÚargsÚstatus© r   úM/var/www/html/bwave/python/venv/lib/python3.8/site-packages/pooch/__init__.pyÚtest   s    





r    N)TTF)Úcorer   r   r   Úutilsr   r   r   Úhashesr   r	   Zdownloadersr
   r   r   r   Z
processorsr   r   r   Ú r   ÚversionÚ__version__r    r   r   r   r   Ú<module>
   s   