code: def test_petersen():
      G = nx.petersen_graph()
      assert 3 == approx.node_connectivity(G)
      assert 3 == approx.node_connectivity(G, 0, 5)
  
imports: import pytest
  import networkx
  from networkx.algorithms import approximation
label_desc: Use image node_id 5 for calling a global function with example usage: test_petersen() without return types