Skip to content

MeasureTimeDecorator

implementation of the timeit decorator

MeasureTimeDecorator

Canonical path: TestHelper.MeasureTimeDecorator.MeasureTimeDecorator

implementation of the timeit decorator

print_time staticmethod

print_time(message: str, repeat: int) -> Callable

measure time decorator

Parameters:

  • message (str) –

    message to print for the time

  • repeat (int) –

    repeat the test

Returns:

  • Callable

    decorator function

Placeholder