      doc = get_doc(tokens.vocab, [t.text for t in tokens], heads=heads)
      assert doc[-2:].root.text == 'Carolina'
  
  
  def test_spans_span_sent(doc):
      """Test span.sent property"""
      assert len(list(doc.sents))
      assert doc[:2].sent.root.text == 'is'
      assert doc[:2].sent.text == 'This is a sentence .'
      assert doc[6:7].sent.root.left_edge.text == 'This'
 
</s> remove     assert matches[0][1] == start
    assert matches[0][2] == end
 </s> add     print(matches)
    assert matches[-1][1] == start
    assert matches[-1][2] == end </s> remove     assert isinstance(doc[2].pos_, six.text_type)
    assert isinstance(doc[2].dep_, six.text_type)
 </s> add     assert isinstance(doc[2].pos_, unicode_)
    assert isinstance(doc[2].dep_, unicode_) </s> remove def test_span_as_doc(doc):
    span = doc[4:10]
    span_doc = span.as_doc()
    assert span.text == span_doc.text.strip()
 </s> add #def test_span_as_doc(doc):
#    span = doc[4:10]
#    span_doc = span.as_doc()
#    assert span.text == span_doc.text.strip()
def test_spans_span_sent(doc, doc_not_parsed):
      doc = get_doc(tokens.vocab, [t.text for t in tokens], heads=heads)
      assert doc[-2:].root.text == 'Carolina'
  
  
def test_spans_span_sent(doc, doc_not_parsed):
      """Test span.sent property"""
      assert len(list(doc.sents))
      assert doc[:2].sent.root.text == 'is'
      assert doc[:2].sent.text == 'This is a sentence .'
      assert doc[6:7].sent.root.left_edge.text == 'This'
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/doc/test_span.py