code: def test_topological_sort_cyclic_graph():
      graph = DiGraph()
      for node in [0, 1, 2]:
          graph.add_node(node)
  
      graph.add_edge(0, 1)
      graph.add_edge(1, 2)
      graph.add_edge(2, 0)
  
      with pytest.raises(CyclicDiGraphError):
          graph.topological_sort()
  
file_path: baikal/tests/_core/test_digraph.py
imports: import pytest
  from baikal._core.digraph import DiGraph, NodeNotFoundError, CyclicDiGraphError
label_desc: Use image node_id 14 for calling a global function with example usage: test_topological_sort_cyclic_graph() without return types