code: def test_display_format_duration_large_d():
      oracle = gridsearch.GridSearchOracle()
      d = datetime.datetime(2020, 5, 17) - datetime.datetime(
          2020, 5, 10
      )
      oracle.verbose = "auto"
      assert (
          oracle_module.Display(oracle).format_duration(d)
          == "7d 00h 00m 00s"
      )
      assert oracle.verbose == 1
  
imports: import datetime
  import threading
  import time
  import numpy
  import pytest
  import keras_tuner
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.tuners import gridsearch
label_desc: Use image node_id 25 for calling a global function with example usage: test_display_format_duration_large_d() without return types