code: def test_default_biased_rank(doc: Doc):
      """
      Biasedrank should behave like base textrank by default.
      """
      # given
      biased_rank = BiasedTextRankFactory()
      base_text_rank = BaseTextRankFactory()
  
      # when
      processed_doc = base_text_rank(doc)
      phrases = processed_doc._.phrases
  
      comparison_doc = biased_rank(doc)
      comparison_phrases = comparison_doc._.phrases
  
      # then
      assert tuple(p.text for p in phrases) == tuple(
          p.text for p in comparison_phrases
      )
  
imports: from spacy.tokens import Doc
  import sys
  from pytextrank.base import BaseTextRankFactory
  from pytextrank.biasedrank import BiasedTextRankFactory
label_desc: Use image node_id 1 for calling a global function with example usage: test_default_biased_rank(doc) without return types