code: def test_return_gt_graph(self):
      # only testing that return_gt_graph produces no errors
      #     work in progress!
  
      pytest.importorskip("graph_tool")
  
      self.g.return_gt_graph(False, False)
      self.g.return_gt_graph(False, True)
      self.g.return_gt_graph(True, False)
      self.g.return_gt_graph("color", "dx")
      self.g.return_gt_graph(["color"], ["dx", "dt"])
      self.g_si.return_gt_graph(
          ["color"], ["dx", "dt"], node_indices=True, edge_indices=True
      )
  
      # test dropna
      gtg = self.g.return_gt_graph(
          ["color"], ["dx", "dt"], dropna="none"
      )
      assert gtg.num_edges() == 7
  
      gtg = self.g.return_gt_graph(
          ["color"], ["dx", "dt"], dropna="all"
      )
      assert gtg.num_edges() == 6
  
      gtg = self.g.return_gt_graph(
          ["color"], ["dx", "dt"], dropna="any"
      )
      assert gtg.num_edges() == 2
  
imports: import pytest
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from numpy.testing import assert_allclose
  from deepgraph import DeepGraph
label_desc: Use image node_id 4 for calling the TestInterfaces obj's underlying member method code with example usage: obj.test_return_gt_graph() without return types