(self)
| 739 | |
| 740 | @contextmanager |
| 741 | def _count_ctxmgr(self): |
| 742 | self.enable_by_count() |
| 743 | try: |
| 744 | yield |
| 745 | finally: |
| 746 | self.disable_by_count() |
| 747 | |
| 748 | def wrap_function(self, func): |
| 749 | """ Wrap a function to profile it. |
no test coverage detected