  
  
  def test_kb_valid_entities():
      mykb = KnowledgeBase()
  
      # adding entities
      mykb.add_entity(entity_id="Q1", prob=0.9)
      mykb.add_entity(entity_id="Q2", prob=0.2)
 
</s> remove     mykb.add_entity(entity_id="Q1", prob=0.5)
    mykb.add_entity(entity_id="Q2", prob=0.5)
 </s> add     mykb.add_entity(entity_id="Q1", prob=0.9)
    mykb.add_entity(entity_id="Q2", prob=0.2) </s> remove     mykb.add_entity(entity_id="Q1", prob=0.5)
    mykb.add_entity(entity_id="Q2", prob=0.5)
 </s> add     mykb.add_entity(entity_id="Q1", prob=0.9)
    mykb.add_entity(entity_id="Q2", prob=0.2)
    """Test the valid construction of a KB with 3 entities and one alias"""
  
  
  def test_kb_valid_entities():
    """Test the valid construction of a KB with 3 entities and one alias"""
      mykb = KnowledgeBase()
  
      # adding entities
      mykb.add_entity(entity_id="Q1", prob=0.9)
      mykb.add_entity(entity_id="Q2", prob=0.2)
keep keep add keep keep keep keep keep
 check and unit test in case prior probs exceed 1 
spacy/tests/pipeline/test_el.py