Enable the profiler if it hasn't been enabled before.
(self)
| 773 | return self |
| 774 | |
| 775 | def enable_by_count(self): |
| 776 | """ Enable the profiler if it hasn't been enabled before. |
| 777 | """ |
| 778 | if self.enable_count == 0: |
| 779 | self.enable() |
| 780 | self.enable_count += 1 |
| 781 | |
| 782 | def disable_by_count(self): |
| 783 | """ Disable the profiler if the number of disable requests matches the |
no test coverage detected