U
    ƒe3  ã                   @   s4   d Z ddlZddlZddlZddlmZ dd„ ZdS )a  Test suite that runs all NLTK tests.

This module, `nltk.test.all`, is named as the NLTK ``test_suite`` in the
project's ``setup-eggs.py`` file.  Here, we create a test suite that
runs all of our doctests, and return it for processing by the setuptools
test harness.

é    N)Úglobc                  C   s@   t j t¡} tt j | d¡ƒ}dd„ |D ƒ}t dd„ |D ƒ¡S )Nz	*.doctestc                 S   s   g | ]}t j |¡‘qS © )ÚosÚpathÚbasename)Ú.0r   r   r   úN/var/www/html/assets/scripts/venv/lib/python3.8/site-packages/nltk/test/all.pyÚ
<listcomp>   s     z$additional_tests.<locals>.<listcomp>c                 S   s   g | ]}t  |¡‘qS r   )ÚdoctestZDocFileSuite)r   Úfiler   r   r   r	      s     )r   r   ÚdirnameÚ__file__r   ÚjoinÚunittestZ	TestSuite)ÚdirÚpathsÚfilesr   r   r   Úadditional_tests   s    r   )Ú__doc__r
   Úos.pathr   r   r   r   r   r   r   r   Ú<module>   s
   