docstr: Node(s) in S not in graph, raises NetworkXError
docstr_tok: ["Node","(","s",")","in","S","not","in","graph",",","raises","NetworkXError"]
code: def test_group_degree_centrality_node_not_in_graph(self):
      """
      Node(s) in S not in graph, raises NetworkXError
      """
      with pytest.raises(nx.NetworkXError):
          nx.group_degree_centrality(nx.path_graph(5), [6, 7, 8])
  
imports: import pytest
  import networkx
label_desc: Use image node_id 5 for calling the TestGroupDegreeCentrality obj's underlying member method code with example usage: obj.test_group_degree_centrality_node_not_in_graph() without return types