o
    rZŽhw  ã                   @   s$   d dl Z d dlZdd„ Zdd„ ZdS )é    Nc                   C   s<   t  t¡ tj d¡ W d   ƒ d S 1 sw   Y  d S )Nzno_such_resource/foo)ÚpytestÚraisesÚLookupErrorÚnltkÚdataÚfind© r   r   úG/var/www/auris/lib/python3.10/site-packages/nltk/test/unit/test_data.pyÚtest_find_raises_exception   s   "ÿr
   c                  C   sP   d} t  t¡}tj | ¡ | t|ƒv sJ ‚W d   ƒ d S 1 s!w   Y  d S )Nzno_such_thing/bar)r   r   r   r   r   r   Ústr)Zno_such_thingÚexcr   r   r	   Ú2test_find_raises_exception_with_full_resource_name   s
   "þr   )r   Z	nltk.datar   r
   r   r   r   r   r	   Ú<module>   s    