B
    .(b                 @   s0   d dl mZ d dlmZ d dlmZ dd ZdS )    )unicode_literals)Matcher)Docc             C   s   t | ddddgd}t| }d}ddidd	iddig}ddidd	idd	iddig}|||g ||}|d
 d
 | j| kstt| }|||g ||}|d
 d
 | j| kstdS )zKTest that match IDs returned by the matcher are correct, are in the string ZterrificgroupZofZpeople)wordsZPATTERNZLOWEROP?r   N)r   r   addstringsAssertionError)Zen_vocabdocZmatcherZmatch_idZpattern1Zpattern2matches r   T/home/dcms/DCMS/lib/python3.7/site-packages/spacy/tests/regression/test_issue3839.pytest_issue3839   s    r   N)
__future__r   Zspacy.matcherr   Zspacy.tokensr   r   r   r   r   r   <module>   s   