
    Ngv                     .    d dl mZmZ defdZdefdZdS )    )find_binaryfind_jarbinaryc                 ~    ddl }	 t          | fi | dS # t          $ r |                    d|  d           Y dS w xY w)zSkip a test via `pytest.skip` if the `binary` executable is not found.
    Keyword arguments are passed to `nltk.internals.find_binary`.r   NzSkipping test because the z binary was not found.)pytestr   LookupErrorskip)r   argsr   s      P/var/www/html/ai-engine/env/lib/python3.11/site-packages/nltk/test/setup_fixt.pycheck_binaryr      su     MMMQF##d##### Q Q QOOOOPPPPPPQs    #<<name_patternc                 8    ddl }|                    d           dS )a'  Skip a test via `pytest.skip` if the `name_pattern` jar is not found.
    Keyword arguments are passed to `nltk.internals.find_jar`.

    TODO: Investigate why the CoreNLP tests that rely on this check_jar failed
    on the CI. https://github.com/nltk/nltk/pull/3060#issuecomment-1268355108
    r   NzMSkipping test because the doctests requiring jars are inconsistent on the CI.)r   r	   )r   r
   r   s      r   	check_jarr      s0     MMM
KKW        N)nltk.internalsr   r   strr   r    r   r   <module>r      sb    0 0 0 0 0 0 0 0Q Q Q Q QC      r   