B
    .(b                 @   s    d dl mZ d dlZdd ZdS )    )unicode_literalsNc          	   C   s2   | d}d|_ tt t|j W dQ R X dS )zTest that noun_chunks raises Value Error for 'nb' language if Doc is not parsed.
    To check this test, we're constructing a Doc
    with a new Vocab here and forcing is_parsed to 'False'
    to make sure the noun chunks don't run.
    u   Smørsausen brukes bl.a. tilFN)Z	is_parsedpytestZraises
ValueErrorlistZnoun_chunks)Znb_tokenizerdoc r   S/home/dcms/DCMS/lib/python3.7/site-packages/spacy/tests/lang/nb/test_noun_chunks.pytest_noun_chunks_is_parsed_nb   s    r	   )
__future__r   r   r	   r   r   r   r   <module>   s   