comparison tests/test-context.py @ 32785:37ec8f24d912

profile: introduce a knob to control if the context is actually profiling This is a step toward allowing context where the profiling in enabled withing the context range. This also open the way to kill the dedicated "maybeprofile" context manager and keep only one of 'profile' and 'maybeprofile'.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 09 Jun 2017 11:41:47 +0100
parents bb628fc85b0e
children 01a1c4e66816 3889cf955a62
comparison
equal deleted inserted replaced
32784:086c1ef0f666 32785:37ec8f24d912