ó
ù`]c           @   sG   d  Z  d d l Z d d l Z d d l m Z d d l Z d „  Z d S(   s  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.

iÿÿÿÿN(   t   globc          C   s{   t  j j t ƒ }  t t  j j |  d ƒ ƒ } g  | D] } t  j j | ƒ ^ q4 } t j g  | D] } t	 j
 | ƒ ^ q_ ƒ S(   Ns	   *.doctest(   t   ost   patht   dirnamet   __file__R    t   joint   basenamet   unittestt	   TestSuitet   doctestt   DocFileSuite(   t   dirt   pathsR   t   filest   file(    (    s,   lib/python2.7/site-packages/nltk/test/all.pyt   additional_tests   s    %(   t   __doc__R	   R   R    t   os.pathR   R   (    (    (    s,   lib/python2.7/site-packages/nltk/test/all.pyt   <module>   s   