code: def test_view_unknown_platform():
      with pytest.raises(RuntimeError, match=r"platform"):
          graphviz.view("nonfilepath")
  
imports: import subprocess
  import pytest
  import graphviz
label_desc: Use image node_id 1 for calling a global function with example usage: test_view_unknown_platform() without return types