code: def test_spec_malformed_lookup():
      with pytest.raises(
          gym.error.Error,
          match=f'^{re.escape("Malformed environment ID: “Breakout-v0”.(Currently all IDs must be of the form [namespace/](env-name)-v(version). (namespace is optional))")}$',
      ):
          gym.spec("“Breakout-v0”")
  
file_path: gym/tests/envs/test_spec.py
imports: import re
  import pytest
  import gym
label_desc: Use image node_id 4 for calling a global function with example usage: test_spec_malformed_lookup() without return types