code: def _filter(schedule):
      return [
          entry
          for ver, entries in schedule
          if cmp_pkg_version(ver) < 1
          for entry in entries
      ]
  
file_path: nibabel/nibabel/tests/test_removalschedule.py
imports: import unittest
  from unittest import mock
  import pytest
  from ..pkg_info import cmp_pkg_version
label_desc: Use image node_id 1 for calling a global function with example usage: _filter(schedule) and returns: unknown