code: def test_jsonl_corpus_loads_spans(tasks_base_path):
      corpus = JsonlCorpus(tasks_base_path / "jsonl")
      assert corpus.train is not None
      example = corpus.train[0]
      assert len(example.get_spans("ner")) > 0
  
imports: import copy
  import shutil
  import pytest
  import flair
  import flair.datasets
  from flair.data import MultiCorpus, Sentence
  from flair.datasets import ColumnCorpus
  from flair.datasets.sequence_labeling import ONTONOTES, JsonlCorpus, JsonlDataset, MultiFileJsonlCorpus
label_desc: Use image node_id 36 for calling a global function with example usage: test_jsonl_corpus_loads_spans(tasks_base_path) without return types