code: def test_version_print_debug_verbosity(caplog):
      """Tests that Orion version is printed in debug verbosity level"""
  
      caplog.set_level(logging.DEBUG)
  
      with pytest.raises(SystemExit):
          orion.core.cli.main([""])
      assert "Orion version : " not in caplog.text
  
      caplog.clear()
      with pytest.raises(SystemExit):
          orion.core.cli.main(["-vv"])
      for loggername, loggerlevel, text in caplog.record_tuples:
          assert not (
              text.startswith("Orion version : ")
              and (loggerlevel != logging.DEBUG)
          )
      assert "Orion version : " in caplog.text
  
imports: import logging
  import os
  import pytest
  import orion.core.cli
label_desc: Use image node_id 1 for calling a global function with example usage: test_version_print_debug_verbosity(caplog) without return types