You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context functions could be passed to the speedtesting classes (and functions), and be used as context managers for running the tests. Eg:
>>> from sloth.context import supress_stdout
>>> from sloth.simple import time_callable
>>> import sys
>>> time_callable(lambda x: print(x), 2, 'this will not get printed', context=supress_stdout)
...
The text was updated successfully, but these errors were encountered:
Context functions could be passed to the speedtesting classes (and functions), and be used as context managers for running the tests. Eg:
The text was updated successfully, but these errors were encountered: