code: def test_subtract_spans():
      etl = TableETL(chunk_tables=False)
      result = etl.subtract_spans(
          {"start": 0, "end": 100, "some_attr": "abc"},
          [{"start": 10, "end": 20}, {"start": 50, "end": 60}],
      )
      assert result == [
          {"start": 0, "end": 10, "some_attr": "abc"},
          {"start": 20, "end": 50, "some_attr": "abc"},
          {"start": 60, "end": 100, "some_attr": "abc"},
      ]
  
      result = etl.subtract_spans(
          {"start": 0, "end": 100, "some_attr": "abc"},
          [{"start": 0, "end": 300}],
      )
      assert result == []
  
      result = etl.subtract_spans(
          {"start": 0, "end": 100, "some_attr": "abc"},
          [{"start": 0, "end": 10}],
      )
      assert result == [{"start": 10, "end": 100, "some_attr": "abc"}]
  
file_path: finetune/tests/test_table_labeler.py
imports: import pytest
  from finetune.util.table_labeler import TableLabeler, TableETL
  from finetune.scheduler import Scheduler
label_desc: Use image node_id 11 for calling a global function with example usage: test_subtract_spans() without return types