Ë
    þ[;jˆ  ã                   ó.   — d dl Z d dlZd„ Z G d„ d«      Zy)é    Nc                  ó<   — dd l } t        d| j                  › �«       y )Nr   zskimage version )ÚskimageÚprintÚ__version__)r   s    ú_G:\00. PROJECTS\API\Inventory\templateJSON\kerjaOCR\Lib\site-packages\skimage/_shared/tester.pyÚ_show_skimage_infor      s   € Ûä	Ð˜W×0Ñ0Ð1Ð
2Õ3ó    c                   ó,   — e Zd ZdZd„ Z	 	 	 	 	 	 	 dd„Zy)ÚPytestTesteraX  
    Pytest test runner.

    This class is made available in ``skimage._shared.testing``, and a test
    function is typically added to a package's __init__.py like so::

      from skimage._shared.testing import PytestTester
      test = PytestTester(__name__)
      del PytestTester

    Calling this test function finds and runs all tests associated with the
    module and all its sub-modules.

    Attributes
    ----------
    module_name : str
        Full path to the package to test.

    Parameters
    ----------
    module_name : module name
        The name of the module to test.

    c                 ó   — || _         y )N)Úmodule_name)Úselfr   s     r   Ú__init__zPytestTester.__init__%   s
   € Ø&ˆÕr	   Nc                 óR  — ddl }t        j                  | j                     }	t        j
                  j                  |	j                  d   «      }
dg}|dgz  }|g d¢z  }|rt        d«      ‚|r|t        |«      z  }|dkD  r|dd	|dz
  z  z   gz  }|r	|d
|
z   gz  }|dk(  r|ddgz  }n|dk7  r|d|gz  }|dk\  r	|d|› �gz  }|€| j                  g}|dgt        |«      z   z  }t        «        	 |j                  |«      }|dk(  S # t        $ r}|j                  }Y d}~|dk(  S d}~ww xY w)ar  
        Run tests for module using pytest.

        Parameters
        ----------
        label : {'fast', 'full'}, optional
            Identifies the tests to run. When set to 'fast', tests decorated
            with `pytest.mark.slow` are skipped, when 'full', the slow marker
            is ignored.
        verbose : int, optional
            Verbosity value for test outputs, in the range 1-3. Default is 1.
        extra_argv : list, optional
            List with any extra arguments to pass to pytests.
        doctests : bool, optional
            .. note:: Not supported
        coverage : bool, optional
            If True, report coverage of scikit-image code. Default is False.
            Requires installation of (pip) pytest-cov.
        durations : int, optional
            If < 0, do nothing, If 0, report time of all tests, if > 0,
            report the time of the slowest `timer` tests. Default is -1.
        tests : test or list of tests
            Tests to be executed with pytest '--pyargs'

        Returns
        -------
        result : bool
            Return True on success, false otherwise.
        r   Nz-lz-q)z!-W ignore:Not importing directoryz"-W ignore:numpy.dtype size changedz"-W ignore:numpy.ufunc size changedzDoctests not supportedé   Ú-Úvz--cov=Úfastz-mznot slowÚfullz--durations=z--pyargs)ÚpytestÚsysÚmodulesr   ÚosÚpathÚabspathÚ__path__Ú
ValueErrorÚlistr   ÚmainÚ
SystemExitÚcode)r   ÚlabelÚverboseÚ
extra_argvÚdoctestsÚcoverageÚ	durationsÚtestsr   ÚmoduleÚmodule_pathÚpytest_argsr!   Úexcs                 r   Ú__call__zPytestTester.__call__(   ss  € óN 	ä—‘˜T×-Ñ-Ñ.ˆÜ—g‘g—o‘o f§o¡o°aÑ&8Ó9ˆð �fˆð 	˜�vÑˆð 	ò 
ñ 	
ˆñ ÜÐ5Ó6Ð6áØœ4 
Ó+Ñ+ˆKà�QŠ;Ø˜C #¨°1©Ñ"5Ñ5Ð6Ñ6ˆKáØ˜H {Ñ2Ð3Ñ3ˆKà�FŠ?Ø˜D *Ð-Ñ-‰KØ�fŠ_Ø˜D %˜=Ñ(ˆKà˜Š>Ø˜l¨9¨+Ð6Ð7Ñ7ˆKàˆ=Ø×%Ñ%Ð&ˆEà˜
�|¤d¨5£kÑ1Ñ1ˆô 	Ôð	Ø—;‘;˜{Ó+ˆDð �q‰yÐøô ò 	Ø—8‘8ŒDà�q‰yÐûð	ús   Ã-D Ä	D&ÄD!Ä!D&)r   r   NFFéÿÿÿÿN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r-   © r	   r   r   r      s)   „ ñò2'ð
 ØØØØØØô[r	   r   )r   r   r   r   r3   r	   r   Ú<module>r4      s   ðÛ 	Û 
ò4÷xò xr	   