code: def test_benchmark_set__get_tasks(
      benchmark_set: BenchmarkSet,
      expected_tasks: Collection[BenchmarkTask],
  ) -> None:
      assert expected_tasks == benchmark_set.get_tasks()
  
file_path: GPflow/tests/benchmark/test_benchmark_api.py
imports: from typing import Collection
  from unittest.mock import Mock
  import pandas
  import pytest
  import benchmark.datasets
  import benchmark.models
  import benchmark.plotters
  from benchmark.benchmark_api import BenchmarkSet, BenchmarkSuite, BenchmarkTask
  from benchmark.grouping import GroupingKey
  from benchmark.grouping import GroupingSpec
label_desc: Use image node_id 1 for calling a global function with example usage: test_benchmark_set__get_tasks(benchmark_set, expected_tasks) without return types