code: def test_unremoved_attr():
      with pytest.raises(AssertionError):
          test_attribute_removal()
  
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 7 for calling a global function with example usage: test_unremoved_attr() without return types