a
    Kb                     @   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    n1 s,0    Y  d S )Nzno_such_resource/foo)pytestraisesLookupErrornltkdatafind r   r   7lib/python3.9/site-packages/nltk/test/unit/test_data.pytest_find_raises_exception   s    r
   c                  C   sN   d} t t,}tj|  | t|v s,J W d    n1 s@0    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   