code: def test_frozen(scenario1: Scenario) -> None:
      with pytest.raises(Exception):
          scenario1.deterministic = False
  
file_path: SMAC3/tests/test_scenario/test_scenario.py
imports: from pathlib import Path
  import pytest
  from ConfigSpace import ConfigurationSpace
  from smac import Scenario
label_desc: Use image node_id 11 for calling a global function with example usage: test_frozen(scenario1) without return types