      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'
  
  
  def test_spans_lca_matrix(en_tokenizer):
      """Test span's lca matrix generation"""
 
</s> remove def test_spans_span_sent(doc):
 </s> add def test_spans_span_sent(doc, doc_not_parsed): </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 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() </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_)
    # test on manual sbd
    doc_not_parsed[0].is_sent_start = True
    doc_not_parsed[5].is_sent_start = True
    assert doc_not_parsed[1:3].sent == doc_not_parsed[0:5]
    assert doc_not_parsed[10:14].sent == doc_not_parsed[5:]
      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'
    # test on manual sbd
    doc_not_parsed[0].is_sent_start = True
    doc_not_parsed[5].is_sent_start = True
    assert doc_not_parsed[1:3].sent == doc_not_parsed[0:5]
    assert doc_not_parsed[10:14].sent == doc_not_parsed[5:]
  
  
  def test_spans_lca_matrix(en_tokenizer):
      """Test span's lca matrix generation"""
keep keep add 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