code: def test_experiment_cant_use_version(three_experiments_same_name):
      """Test status using `--version`."""
      with pytest.raises(RuntimeError) as ex:
          orion.core.cli.main(
              ["status", "--version", "2", "--collapse"]
          )
  
      assert "collapse" in str(ex.value)
  
      with pytest.raises(RuntimeError) as ex:
          orion.core.cli.main(
              ["status", "--version", "2", "--expand-versions"]
          )
  
      assert "expand-versions" in str(ex.value)
  
imports: import os
  import pytest
  import yaml
  import orion.core.cli
  from orion.core.io.experiment_builder import ExperimentBuilder
  from orion.testing.state import OrionState
label_desc: Use image node_id 44 for calling a global function with example usage: test_experiment_cant_use_version(three_experiments_same_name) without return types