code: def _generate_no_biconnected(max_attempts=50):
      attempts = 0
      while True:
          G = nx.fast_gnp_random_graph(100, 0.0575, seed=42)
          if nx.is_connected(G) and not nx.is_biconnected(G):
              attempts = 0
              yield G
          else:
              if attempts >= max_attempts:
                  msg = (
                      f"Tried {max_attempts} times: no suitable Graph."
                  )
                  raise Exception(msg)
              else:
                  attempts += 1
  
imports: import itertools
  import pytest
  import networkx
  from networkx.algorithms import flow
  from networkx.algorithms.connectivity import local_edge_connectivity, local_node_connectivity
label_desc: Use image node_id 1 for calling a global function with example usage: _generate_no_biconnected(max_attempts) without return types