code: def test_directed_curved_loops(self):
      plt.close("all")
      g = Graph.Ring(5, directed=True)
      g.add_edge(0, 0)
      g.add_edge(0, 0)
      g.add_edge(2, 2)
      fig, ax = plt.subplots()
      ax.set_xlim(-1.2, 1.2)
      ax.set_ylim(-1.2, 1.2)
      plot(
          g,
          target=ax,
          layout=self.layout_small_ring,
          edge_curved=[0] * 4 + [0.3],
          edge_loop_size=[0] * 5 + [30, 50, 40],
      )
  
imports: import os
  import unittest
  from igraph import Graph, plot, VertexClustering, Layout
  from ...utils import overridden_configuration
label_desc: Use image node_id 7 for calling the GraphTestRunner obj's underlying member method code with example usage: obj.test_directed_curved_loops() without return types