code: def test_remove_overlaps(self):
      test_entities = [(0, 5, "ENTITY"), (6, 10, "ENTITY")]
      result = remove_overlapping_entities(test_entities)
      assert result == [(0, 5, "ENTITY"), (6, 10, "ENTITY")]
  
      test_entities = [(0, 5, "ENTITY"), (5, 10, "ENTITY")]
      result = remove_overlapping_entities(test_entities)
      assert result == [(0, 5, "ENTITY"), (5, 10, "ENTITY")]
  
      test_entities = [(0, 5, "ENTITY"), (4, 10, "ENTITY")]
      result = remove_overlapping_entities(test_entities)
      assert result == [(4, 10, "ENTITY")]
  
      test_entities = [(0, 5, "ENTITY"), (0, 5, "ENTITY")]
      result = remove_overlapping_entities(test_entities)
      assert result == [(0, 5, "ENTITY")]
  
      test_entities = [
          (0, 5, "ENTITY"),
          (4, 11, "ENTITY"),
          (6, 20, "ENTITY"),
      ]
      result = remove_overlapping_entities(test_entities)
      assert result == [(0, 5, "ENTITY"), (6, 20, "ENTITY")]
  
      test_entities = [
          (0, 5, "ENTITY"),
          (4, 7, "ENTITY"),
          (10, 20, "ENTITY"),
      ]
      result = remove_overlapping_entities(test_entities)
      assert result == [(0, 5, "ENTITY"), (10, 20, "ENTITY")]
  
      test_entities = [(1368, 1374, "ENTITY"), (1368, 1376, "ENTITY")]
      result = remove_overlapping_entities(test_entities)
      assert result == [(1368, 1376, "ENTITY")]
  
      test_entities = [
          (12, 33, "ENTITY"),
          (769, 779, "ENTITY"),
          (769, 787, "ENTITY"),
          (806, 811, "ENTITY"),
      ]
      result = remove_overlapping_entities(test_entities)
      assert result == [
          (12, 33, "ENTITY"),
          (769, 787, "ENTITY"),
          (806, 811, "ENTITY"),
      ]
  
      test_entities = [
          (189, 209, "ENTITY"),
          (317, 362, "ENTITY"),
          (345, 354, "ENTITY"),
          (364, 368, "ENTITY"),
      ]
      result = remove_overlapping_entities(test_entities)
      assert result == [
          (189, 209, "ENTITY"),
          (317, 362, "ENTITY"),
          (364, 368, "ENTITY"),
      ]
  
      test_entities = [
          (445, 502, "ENTITY"),
          (461, 473, "ENTITY"),
          (474, 489, "ENTITY"),
      ]
      result = remove_overlapping_entities(test_entities)
      assert result == [(445, 502, "ENTITY")]
  
file_path: scispacy/tests/test_data_util.py
imports: import os
  import unittest
  import shutil
  from scispacy.data_util import read_full_med_mentions, med_mentions_example_iterator, remove_overlapping_entities
  from scispacy.data_util import read_ner_from_tsv
label_desc: Use image node_id 4 for calling the TestDataUtil obj's underlying member method code with example usage: obj.test_remove_overlaps() without return types