  from ...vocab import Vocab
  from ...tokens import Doc
  from ...matcher import Matcher
  
  @pytest.mark.xfail
  def test_issue1945():
      text = "a a a"
      matcher = Matcher(Vocab())
      matcher.add('MWE', None, [{'orth': 'a'}, {'orth': 'a'}])
      doc = Doc(matcher.vocab, words=['a', 'a', 'a'])
 
</s> remove from .util import minibatch
 </s> add from .util import minibatch, itershuffle
from .compat import json_dumps </s> remove import six
 </s> add  </s> remove from ..tokens.doc cimport Doc
 </s> add from ..tokens.doc cimport Doc, set_children_from_heads </s> remove from fabtools.python import virtualenv
 </s> add 
  from ...vocab import Vocab
  from ...tokens import Doc
  from ...matcher import Matcher
  

  def test_issue1945():
      text = "a a a"
      matcher = Matcher(Vocab())
      matcher.add('MWE', None, [{'orth': 'a'}, {'orth': 'a'}])
      doc = Doc(matcher.vocab, words=['a', 'a', 'a'])
keep keep keep keep replace keep keep keep keep keep
 Revert "Merge branch 'develop' of https://github.com/explosion/spaCy into develop"

This reverts commit c9ba3d3c2dc7067cf8bd55f878cec45a8c6d73d4, reversing
changes made to 92c26a35d425d4e8ca1b805ea776ea10f5ded3df. 
spacy/tests/regression/test_issue1945.py