code: def test_new_code_ignores_code_conflict():
      """Test that a different git hash is *not* generating a child if --ignore-code-changes"""
      name = "full_x"
      # Let it run for 2 trials to test consumer._validate_code_version too.
      error_code = orion.core.cli.main(
          (
              "hunt --worker-max-trials 2 -n {name} --ignore-code-changes "
              "--manual-resolution "
              "--enable-evc "
              "./black_box.py -x~uniform(-10,10)"
          )
          .format(name=name)
          .split(" ")
      )
      assert error_code == 0
  
imports: import logging
  import os
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.storage.base import setup_storage
label_desc: Use image node_id 40 for calling a global function with example usage: test_new_code_ignores_code_conflict() without return types