| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/nltk/test/__pycache__/ |
Upload File : |
�
T�cv � �. � d dl mZmZ defd�Zdefd�ZdS )� )�find_binary�find_jar�binaryc �~ � ddl } t | fi |�� dS # t $ r |� d| � d�� � Y dS w xY w)z�Skip a test via `pytest.skip` if the `binary` executable is not found.
Keyword arguments are passed to `nltk.internals.find_binary`.r NzSkipping test because the z binary was not found.)�pytestr �LookupError�skip)r �argsr s �6/usr/lib/python3/dist-packages/nltk/test/setup_fixt.py�check_binaryr su � � �M�M�M�Q��F�#�#�d�#�#�#�#�#��� Q� Q� Q����O��O�O�O�P�P�P�P�P�P�Q���s �
�#<�<�name_patternc �8 � ddl }|� d� � dS )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 � � �M�M�M�
�K�K�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