code: def test_get_backward_dataframes_deep(es):
      dataframes = es.get_backward_dataframes("customers", deep=True)
      path_to_log = backward_path(es, ["customers", "sessions", "log"])
      path_to_sessions = backward_path(es, ["customers", "sessions"])
      assert list(dataframes) == [
          ("sessions", path_to_sessions),
          ("log", path_to_log),
      ]
  
imports: import pandas
  import pytest
  from featuretools import EntitySet
  from featuretools.tests.testing_utils import backward_path, forward_path
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_backward_dataframes_deep(es) without return types