def METHOD_NAME(self):
    """Ensure that an error is raised when the library's version equals the function's removal version."""
    with patch("super_gradients.__version__", "10.1.0"):  # Mocking the version to be equal to removal version
        with self.assertRaises(ImportError):
            @deprecated(deprecated_since="3.2.0", removed_from="10.1.0", target=self.new_func)
            def deprecated_func_version_equal():
                return
            deprecated_func_version_equal()