code: def test_input_version_5():
      class DerivedInterface2(nib.BaseInterface):
          input_spec = MaxVerInputSpec
          _version = "0.8"
  
      obj = DerivedInterface2()
      obj.inputs.foo = 1
      with pytest.raises(Exception) as excinfo:
          obj._check_version_requirements(obj.inputs)
      assert "version 0.8 > required 0.7" in str(excinfo.value)
  
imports: import os
  import simplejson
  import logging
  import pytest
  from unittest import mock
  from ....None import config
  from ....testing import example_data
  from ...None import base
  from ..support import _inputs_help
label_desc: Use image node_id 9 for calling a global function with example usage: test_input_version_5() without return types