code: def testIncidentFilteringDirected(self):
      # Test case from https://igraph.discourse.group/t/edge-select-using-incident-on-directed-graphs/1645
      g = Graph([(0, 1), (1, 2), (2, 3)], directed=True)
  
      vs = (1,)
      es = g.es.select(_incident=vs)
      self.assertEqual(2, len(es))
      self.assertTrue(
          all((e.source in vs or e.target in vs) for e in es)
      )
      self.assert_edges_unique_in(es)
  
imports: import unittest
  from igraph import Graph, Edge, EdgeSeq, VertexSeq
  from .utils import is_pypy
label_desc: Use image node_id 22 for calling the EdgeSeqTests obj's underlying member method code with example usage: obj.testIncidentFilteringDirected() without return types