code: def run(self):
      if self.test:
          tests = [fn for fn in self.tests if fn.__name__ in self.test]
          if not tests:
              raise ValueError("No such test(s): %s" % self.test)
      else:
          tests = self.tests
  
      if self._setup_once:
          print("Running setup once...")
          self._setup_once(self.dburl, self.echo, self.num)
      print("Tests to run: %s" % ", ".join([t.__name__ for t in tests]))
      for test in tests:
          self._run_test(test)
          self.stats[-1].report()
  
imports: import argparse
  import cProfile
  import gc
  import os
  import pstats
  import re
  import sys
  import time
label_desc: Use image node_id 6 for calling the Profiler obj's underlying member method code with example usage: obj.run() without return types