code: def test_module_removal():
      for module in _filter(MODULE_SCHEDULE):
          with pytest.raises(ImportError):
              __import__(module)
              assert False, f"Time to remove {module}"
  
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 2 for calling a global function with example usage: test_module_removal() without return types