(cls)
Runs once globally to print system information.
Runs once globally to print system information.
Runs once globally to print system information .
def setUpClass(cls):
        """Runs once globally to print system information."""
        global global_setup_ran
        if not global_setup_ran:
            print("\nRunning benchmark with {} v{} on {} ({})"
                  .format(platform.python_implementation(),
                          platform.python_version(),
                          platform.platform(),
                          Benchmark.getPlatformSpecificDetails()))
            global_setup_ran = True
def setUpClass ( cls ) : global global_setup_ran if not global_setup_ran : print ( "\nRunning benchmark with {} v{} on {} ({})" . format ( platform . python_implementation ( ) , platform . python_version ( ) , platform . platform ( ) , Benchmark . getPlatformSpecificDetails ( ) ) ) global_setup_ran = True