code: def assert_longer_verbose_logs(function_call, args, kwargs):
      # Run command with verbose=False
      kwargs["verbose"] = False
      old_stdout = sys.stdout
      sys.stdout = stdout_without_verbose = StringIO()
      function_call(*args, **kwargs)
      sys.stdout = old_stdout
      without_verbose = stdout_without_verbose.getvalue()
      # Run command with verbose=True
      kwargs["verbose"] = True
      old_stdout = sys.stdout
      sys.stdout = stdout_with_verbose = StringIO()
      function_call(*args, **kwargs)
      sys.stdout = old_stdout
      with_verbose = stdout_with_verbose.getvalue()
      # Assert that verbose logs are longer
      assert len(with_verbose) > len(without_verbose)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import random
  import tempfile
  import shutil
  import math
  import string
  import numpy
  from pandas.util.testing import assert_frame_equal
  from ..None import SArray
  import turicreate
  import sys
  from six import StringIO
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: assert_longer_verbose_logs(function_call, args, kwargs) without return types